From: Shamus Hammons Date: Thu, 5 Jul 2012 16:18:05 +0000 (-0500) Subject: Fixed Makefile to use date from last commit for unofficial releases. X-Git-Tag: 2.1.0~26 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b275445cfba09007f30ee50b105203c1cf73506;p=virtualjaguar Fixed Makefile to use date from last commit for unofficial releases. --- diff --git a/Makefile b/Makefile index 022899b..f11c1ba 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,8 @@ prepare: obj @echo -e "\033[01;33m***\033[00;32m Preparing to compile Virtual Jaguar...\033[00m" # @echo "#define VJ_RELEASE_VERSION \"v2.1.0\"" > src/version.h # @echo "#define VJ_RELEASE_SUBVERSION \"Final\"" >> src/version.h - @echo "#define VJ_RELEASE_VERSION \"GIT `date +%Y%m%d`\"" > src/version.h +# @echo "#define VJ_RELEASE_VERSION \"GIT `date +%Y%m%d`\"" > src/version.h + @echo "#define VJ_RELEASE_VERSION \"GIT `git log -1 --pretty=format:%ci | cut -d ' ' -f 1 | tr -d -`\"" > src/version.h @echo "#define VJ_RELEASE_SUBVERSION \"2.1.0 Prerelease\"" >> src/version.h virtualjaguar: sources libs makefile-qt