src/gui/Makefile.am: small addition to db6a7cf5cb

Origin commit data
------------------
Commit: eaf46a6f0d
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-08 (Sat, 08 Jan 2022)

Origin message was:
------------------
- src/gui/Makefile.am: small addition to db6a7cf5cb
This commit is contained in:
vanhofen
2022-01-08 22:59:39 +01:00
parent 321392c811
commit fe83cdef6c

View File

@@ -1,9 +1,9 @@
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 BUILT_SOURCES = version.h
version.h: version.h:
@rm -f $@; \ @rm -f $@
echo "#define BUILT_DATE \"$$(date)\"" > $@ @echo "#define BUILT_DATE \"$$(date)\"" > $@
echo "#define BUILT_TIMESTAMP \"$$(date +%s)\"" >> $@ @echo "#define BUILT_TIMESTAMP \"$$(date +%s)\"" >> $@
@if test -d $(top_srcdir)/.git ; then \ @if test -d $(top_srcdir)/.git ; then \
pushd $(top_srcdir) ; \ pushd $(top_srcdir) ; \
GITTAG=$$(git tag -l "NI-*" | tail -n1); \ GITTAG=$$(git tag -l "NI-*" | tail -n1); \