summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-05-18 23:48:17 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-05-18 23:48:17 (GMT)
commit8aca52bcbb6b9c710771087dddeadf4adb05dc66 (patch)
tree318c6768748fb01bf5bac03772d331970b7ed323 /Makefile.am
parentf21c313fdfd9237a77a6c8ae52949ad6068e3930 (diff)
Defined the pattern of the revision.h file.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@159 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 0bee3b5..de72d75 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,7 @@ BUILT_SOURCES = revision.h
revision.h: .svn
@nb=`svn log ChangeLog -l 1 -q | grep r | cut -d ' ' -f 1 | tr -d 'r'` ; \
- sed -i "s/#define REVISION .*$$/#define REVISION $$nb/" $@ ; \
+ cat $@.in | sed "s/#define REVISION .*$$/#define REVISION $$nb/" > $@ ; \
[ -f $< ] && rm $< || true
EXTRA_DIST = config.rpath config.rpath config.rpath config.rpath ChangeLog