X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=f11c1bae64188187d9a50b47aa3f24a18e6f9503;hb=09b508a759ca512da810722a0d4786dd1695d47c;hp=022899b936ff224300147bf0275f36eaeebd06bd;hpb=4ce6f0aa0c78890baa1769030c93b4de7d09ecba;p=virtualjaguar 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