src/gui/Makefile.am: fix build

Origin commit data
------------------
Commit: 9b7dac47b7
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-11 (Tue, 11 Jan 2022)

Origin message was:
------------------
- src/gui/Makefile.am: fix build
This commit is contained in:
vanhofen
2022-01-11 23:39:59 +01:00
parent 84cc9775a7
commit 4b024ef711

View File

@@ -1,11 +1,9 @@
AM_CPPFLAGS = -fno-rtti -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
VERSION_H = version.h
VERSION = $(shell find $(VERSION_H) -mmin +60 2>/dev/null)
$(VERSION):
$(VERSION_H):
@rm -f $@
@echo "#define BUILT_DATE \"$$(date)\"" > $@
@echo "#define BUILT_TIMESTAMP \"$$(date +%s)\"" >> $@
@if test -d $(top_srcdir)/.git; then \
pushd $(top_srcdir); \
GITTAG=$$(git tag -l "NI-*" | tail -n1); \