diff options
| -rw-r--r-- | ChangeLog | 11 | ||||
| -rw-r--r-- | Makefile.am | 2 | ||||
| -rw-r--r-- | revision.h.in (renamed from revision.h) | 2 | 
3 files changed, 13 insertions, 2 deletions
| @@ -1,6 +1,17 @@  10-05-19  Cyrille Bagard <nocbos@gmail.com>  	* Makefile.am: +	Update code. + +	* revision.h: +	Deleted entry. + +	* revision.h.in: +	New entry: define the pattern of the revision.h file. + +10-05-19  Cyrille Bagard <nocbos@gmail.com> + +	* Makefile.am:  	Fix the computing.  10-05-19  Cyrille Bagard <nocbos@gmail.com> 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 diff --git a/revision.h b/revision.h.in index c9fa02f..10234d0 100644 --- a/revision.h +++ b/revision.h.in @@ -25,7 +25,7 @@  #define _DIALOGS_REVISION_H -#define REVISION 157 +#define REVISION XXX  #endif  /* _DIALOGS_REVISION_H */ | 
