summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre GRANDIN <pgrandin@users.noreply.github.com>2016-09-21 11:14:22 -0700
committerGitHub <noreply@github.com>2016-09-21 11:14:22 -0700
commitb5a6bfe12c6e58af6818712a7122aaf9a19b137a (patch)
tree548d1ec81a121c2a6ec9d1e121fdea2c990e675f
parent6728e21b0c9383504003684ef65fdf410c409971 (diff)
parentee1b021fa0b536cf0ba968cb33dc20c140a71804 (diff)
downloadnavit-b5a6bfe12c6e58af6818712a7122aaf9a19b137a.tar.gz
Merge pull request #118 from navit-gps/autotools2R6789
Update Makefile.am to attempt to fix autotools on the legacy build server
-rw-r--r--navit/Makefile.am1
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 \