From ee1b021fa0b536cf0ba968cb33dc20c140a71804 Mon Sep 17 00:00:00 2001 From: jandegr Date: Wed, 21 Sep 2016 17:45:06 +0200 Subject: Update Makefile.am 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. --- navit/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 \ -- cgit v1.2.1