From a69df5f302482de04c161d46b151ed2ceb1533d2 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 28 Oct 2012 14:17:36 +0100 Subject: [PATCH] dont phony git_version.h only makeversion, supplement to 403addaca255aa5a5df556c360583b2f56e7a96d Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/df3b9e4f73554f8ed01a1633874c94e0089588d9 Author: Jacek Jendrzej Date: 2012-10-28 (Sun, 28 Oct 2012) --- src/gui/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gui/Makefile.am b/src/gui/Makefile.am index 33d43d6e1..39c5967a5 100644 --- a/src/gui/Makefile.am +++ b/src/gui/Makefile.am @@ -1,8 +1,7 @@ AM_CPPFLAGS = -fno-rtti -fno-exceptions #AM_CPPFLAGS = -fno-rtti -.PHONY:git_version.h BUILT_SOURCES = git_version.h -git_version.h: +git_version.h: makeversion @if test -d ../../.git; then \ 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 \ @@ -14,9 +13,11 @@ git_version.h: else \ rm git_version.h; echo '#define BUILT_DATE "'`date`'"' > git_version.h ; \ fi - noinst_HEADERS = git_version.h +.PHONY: makeversion + + SUBDIRS = widget bedit INCLUDES = \