src/gui/Makefile.am: minor changes to version.h handling

Origin commit data
------------------
Branch: ni/coolstream
Commit: 15b266cd1e
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
vanhofen
2022-01-09 22:40:34 +01:00
parent 8367b058f3
commit 0d0599cfa4

View File

@@ -1,7 +1,7 @@
AM_CPPFLAGS = -fno-rtti -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS AM_CPPFLAGS = -fno-rtti -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
BUILT_SOURCES = version.h VERSION_H = version.h
VERSION = $(shell find version.h -mmin +60 2>/dev/null) VERSION = $(shell find $(VERSION_H) -mmin +60 2>/dev/null)
$(VERSION): $(VERSION):
@rm -f $@ @rm -f $@
@echo "#define BUILT_DATE \"$$(date)\"" > $@ @echo "#define BUILT_DATE \"$$(date)\"" > $@
@@ -13,8 +13,10 @@ $(VERSION):
popd; \ popd; \
echo "#define VCS \"$${GITDESCRIBE}\"" >> $@; \ echo "#define VCS \"$${GITDESCRIBE}\"" >> $@; \
fi fi
noinst_HEADERS = version.h
.PHONY: version.h BUILT_SOURCES = $(VERSION_H)
noinst_HEADERS = $(VERSION_H)
.PHONY: $(VERSION_H)
SUBDIRS = bedit components moviebrowser widget SUBDIRS = bedit components moviebrowser widget