Generating automatic build timestamp
This commit is contained in:
parent
8873bb4a1e
commit
1df494e339
@ -20,6 +20,17 @@ xorriso_xorriso_CFLAGS = -DXorriso_standalonE -DXorriso_with_maiN -DXorriso_with
|
||||
|
||||
xorriso_xorriso_LDADD = $(THREAD_LIBS)
|
||||
|
||||
|
||||
# Trying to create a build timestamp file
|
||||
#
|
||||
BUILT_SOURCES = xorriso/xorriso_buildstamp.h
|
||||
# phony targets get rebuilt every time
|
||||
.PHONY: xorriso/xorriso_buildstamp.h
|
||||
xorriso/xorriso_buildstamp.h:
|
||||
date -u '+#define Xorriso_build_timestamP "%Y.%m.%d.%H%M%S"' >xorriso/xorriso_buildstamp.h
|
||||
cat xorriso/xorriso_buildstamp.h
|
||||
|
||||
|
||||
xorriso_xorriso_SOURCES = \
|
||||
\
|
||||
xorriso/xorriso.h \
|
||||
@ -162,6 +173,9 @@ install-exec-hook:
|
||||
ln -s xorriso $(bindir)/xorrecord
|
||||
|
||||
|
||||
|
||||
# <<< seems to be outperformed by the .PHONY above
|
||||
|
||||
# Trying to create a build timestamp file
|
||||
#
|
||||
buildstamp:
|
||||
@ -181,6 +195,8 @@ buildstamped: buildstamp
|
||||
#
|
||||
# all: buildstamp
|
||||
|
||||
# <<< seems to be outperformed by the .PHONY above
|
||||
|
||||
## ========================================================================= ##
|
||||
|
||||
# Indent source files
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2008.07.14.125133"
|
||||
#define Xorriso_timestamP "2008.07.15.063040"
|
||||
|
Loading…
Reference in New Issue
Block a user