Fix version reported by e16 in release build
e16 in the e16-1.0.23 release unfortunately says "v1.0.22-64-g176e183e". The release tarballs (and RPMs) are built from the proper v1.0.23 tag though.
This commit is contained in:
parent
ed39ba65fd
commit
98f5dc34b3
|
@ -5,13 +5,12 @@ ACLOCAL_AMFLAGS = -I m4
|
|||
MAINTAINERCLEANFILES = aclocal.m4 config.* compile configure depcomp \
|
||||
install-sh ltmain.sh missing mkinstalldirs \
|
||||
Makefile.in */Makefile.in */*/Makefile.in \
|
||||
version.h \
|
||||
ABOUT-NLS \
|
||||
po/Makefile.in.in po/Makevars.template po/Rules-quot \
|
||||
po/*.header po/*.sed po/*.sin po/e16.pot \
|
||||
*~ */*~
|
||||
|
||||
CLEANFILES = $(PACKAGE).spec
|
||||
CLEANFILES = $(PACKAGE).spec version.h
|
||||
|
||||
BUILT_SOURCES = version.h
|
||||
|
||||
|
@ -33,7 +32,7 @@ version.h: FORCE
|
|||
|
||||
RPM_RELEASE=`echo -n "1.%(date '+%y%m%d').git"; git rev-parse --short=8 HEAD`
|
||||
else
|
||||
version.h:
|
||||
version.h: FORCE
|
||||
@echo '#define E16_VERSION "@VERSION@"' > $@.tmp
|
||||
@if cmp -s $@.tmp $@; then rm $@.tmp; else mv $@.tmp $@; fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue