From 0d0599cfa4014af6ab6b1d38f24d511983eadbae Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 9 Jan 2022 22:40:34 +0100 Subject: [PATCH] src/gui/Makefile.am: minor changes to version.h handling Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/15b266cd1e29bed525ee39a49468985d36b7cf77 Author: vanhofen Date: 2022-01-09 (Sun, 09 Jan 2022) Origin message was: ------------------ - src/gui/Makefile.am: minor changes to version.h handling ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gui/Makefile.am b/src/gui/Makefile.am index e7900355d..31ff69e8c 100644 --- a/src/gui/Makefile.am +++ b/src/gui/Makefile.am @@ -1,7 +1,7 @@ AM_CPPFLAGS = -fno-rtti -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -BUILT_SOURCES = version.h -VERSION = $(shell find version.h -mmin +60 2>/dev/null) +VERSION_H = version.h +VERSION = $(shell find $(VERSION_H) -mmin +60 2>/dev/null) $(VERSION): @rm -f $@ @echo "#define BUILT_DATE \"$$(date)\"" > $@ @@ -13,8 +13,10 @@ $(VERSION): popd; \ echo "#define VCS \"$${GITDESCRIBE}\"" >> $@; \ fi -noinst_HEADERS = version.h -.PHONY: version.h + +BUILT_SOURCES = $(VERSION_H) +noinst_HEADERS = $(VERSION_H) +.PHONY: $(VERSION_H) SUBDIRS = bedit components moviebrowser widget