mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
dont phony git_version.h only makeversion, supplement to 2ee2bb63f0
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
AM_CPPFLAGS = -fno-rtti -fno-exceptions
|
AM_CPPFLAGS = -fno-rtti -fno-exceptions
|
||||||
#AM_CPPFLAGS = -fno-rtti
|
#AM_CPPFLAGS = -fno-rtti
|
||||||
.PHONY:git_version.h
|
|
||||||
BUILT_SOURCES = git_version.h
|
BUILT_SOURCES = git_version.h
|
||||||
git_version.h:
|
git_version.h: makeversion
|
||||||
@if test -d ../../.git; then \
|
@if test -d ../../.git; then \
|
||||||
echo "#define GITVERSION \"$$(git describe --dirty || echo `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 \
|
if diff -q git_version.h git_version.h.tmp >/dev/null 2>&1 ; then \
|
||||||
@@ -14,9 +13,11 @@ git_version.h:
|
|||||||
else \
|
else \
|
||||||
rm git_version.h; echo '#define BUILT_DATE "'`date`'"' > git_version.h ; \
|
rm git_version.h; echo '#define BUILT_DATE "'`date`'"' > git_version.h ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
noinst_HEADERS = git_version.h
|
noinst_HEADERS = git_version.h
|
||||||
|
|
||||||
|
.PHONY: makeversion
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = widget bedit
|
SUBDIRS = widget bedit
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
|
Reference in New Issue
Block a user