kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=98f5dc34b3364f1f7cb2df94c59518488881f976
commit 98f5dc34b3364f1f7cb2df94c59518488881f976 Author: Kim Woelders <k...@woelders.dk> Date: Mon Apr 12 11:57:11 2021 +0200 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. --- Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index aed4370e..e0ef1d5a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 --