diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | revision.h | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -1,6 +1,11 @@ 10-05-19 Cyrille Bagard <nocbos@gmail.com> * Makefile.am: + Fix the computing. + +10-05-19 Cyrille Bagard <nocbos@gmail.com> + + * Makefile.am: Compute the revision number based on SVN. * pixmaps/Makefile.am: diff --git a/Makefile.am b/Makefile.am index 13a6314..0bee3b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,9 +5,9 @@ BUILT_SOURCES = revision.h @[ -d $@ ] || touch $@ revision.h: .svn - @nb=`svn log . -l 1 -q | grep r | cut -d ' ' -f 1 | tr -d 'r'` ; \ + @nb=`svn log ChangeLog -l 1 -q | grep r | cut -d ' ' -f 1 | tr -d 'r'` ; \ sed -i "s/#define REVISION .*$$/#define REVISION $$nb/" $@ ; \ - [ -f $< ] && rm $< + [ -f $< ] && rm $< || true EXTRA_DIST = config.rpath config.rpath config.rpath config.rpath ChangeLog @@ -25,7 +25,7 @@ #define _DIALOGS_REVISION_H -#define REVISION 156 +#define REVISION 157 #endif /* _DIALOGS_REVISION_H */ |