-fix c/p , supplement to 2ee2bb63f0

This commit is contained in:
satbaby
2012-10-28 13:40:27 +01:00
parent 2ee2bb63f0
commit a5a807d63f

View File

@@ -4,7 +4,7 @@ AM_CPPFLAGS = -fno-rtti -fno-exceptions
BUILT_SOURCES = git_version.h
git_version.h:
@if test -d ../../.git; then \
echo "#define GITVERSION \"$$(git describe --dirty || echo '#define BUILT_DATE "'`date`'"' )\" " > git_version.h.tmp ; \
echo "#define GITVERSION \"$$(git describe --dirty || echo `date` )\" " > git_version.h.tmp ; \
if diff -q git_version.h git_version.h.tmp >/dev/null 2>&1 ; then \
rm -f git_version.h.tmp ; \
else \