diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-11-03 21:49:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-11-03 21:49:14 (GMT) |
commit | 72da49fdf05285169a9465b34f7869dafc4715ec (patch) | |
tree | 8a7303076d85c977737d2e30ac8eaf1da0a909a3 /Makefile.am | |
parent | 565c3f494b51715cf67575fc5951c6103049f29d (diff) |
Retrieved the revision number using M4 instead of shell.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@603 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am index 34a6b88..747cd30 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,15 +1,5 @@ -BUILT_SOURCES = revision.h - -.svn: - @[ -d $@ ] || touch $@ - -revision.h: .svn - @nb=`LANG=C svn info | grep 'Revision:' | cut -d ' ' -f 2 | tr -d 'r'` ; \ - cat $@.in | sed "s/#define REVISION .*$$/#define REVISION $$nb/" > $@ ; \ - [ -f $< ] && rm $< || true - -EXTRA_DIST = config.rpath ChangeLog +EXTRA_DIST = config.rpath ChangeLog SUBDIRS = tools pixmaps src plugins po themes |