From 19d966e23575bc604c71cb352733f8722c6dcad0 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Fri, 24 Apr 2015 10:12:20 -0700 Subject: [PATCH] Try to eliminate spurious -dirty in version_tag.h --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 1ad89867e..9e23ddaaf 100644 --- a/Makefile.in +++ b/Makefile.in @@ -292,7 +292,7 @@ endif version_tag.h version: @if $(GIT_PRESENT) && test -d $(srcdir)/.git; then \ echo "Using git-describe for VERSION_TAG"; \ - tmp=`$(GIT) --git-dir $(srcdir)/.git describe --always --dirty \ + tmp=`(cd $(srcdir) && $(GIT) describe --always --dirty) \ | sed -e 's;\(.*\);#define VERSION_TAG "\1";'`; \ echo "$$tmp" | diff - version_tag.h > /dev/null 2>&1 || echo "$$tmp" > version_tag.h || exit 1; \ elif test -r $(srcdir)/version_tag.h; then \