diff options
author | jandegr <jandegr@users.noreply.github.com> | 2016-09-21 17:45:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-21 17:45:06 +0200 |
commit | ee1b021fa0b536cf0ba968cb33dc20c140a71804 (patch) | |
tree | 548d1ec81a121c2a6ec9d1e121fdea2c990e675f | |
parent | 6728e21b0c9383504003684ef65fdf410c409971 (diff) | |
download | navit-autotools2.tar.gz |
Update Makefile.amautotools2
This will not properly set the version for release builds, but it should be another step forward in getting the autotools builds on the Navit server going again.
-rw-r--r-- | navit/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/Makefile.am b/navit/Makefile.am index 7115a6c6e..16cb81d58 100644 --- a/navit/Makefile.am +++ b/navit/Makefile.am @@ -213,6 +213,7 @@ if SOURCE_MODE_SVN else echo "#define SVN_VERSION \"@SOURCE_MODE@\"" >>version.h.tmp endif + echo "#define GIT_VERSION \"$(shell git describe --abbrev=8 --dirty --always --tags)\"" >>version.h.tmp echo "#define NAVIT_VARIANT \"@NAVIT_VARIANT@\"" >>version.h.tmp if ! diff version.h.tmp version.h >/dev/null 2>/dev/null; \ then \ |