mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
doc: Minor enhancement for reproducibility.
* doc/Makefile.am (defsincdate): In no repo mode and with SOURCE_DATE_EPOCH set, use that instead of blanking the date. -- GnuPG-bug-id: 4947
This commit is contained in:
parent
4f6e0e12cb
commit
074ab108e7
@ -177,6 +177,8 @@ defsincdate: $(gnupg_TEXINFOS)
|
||||
if test -e $(top_srcdir)/.git; then \
|
||||
(cd $(srcdir) && git log -1 --format='%ct' \
|
||||
-- $(gnupg_TEXINFOS) 2>/dev/null) >>defsincdate; \
|
||||
elif test x"$SOURCE_DATE_EPOCH" != x; then \
|
||||
echo "$SOURCE_DATE_EPOCH" >>defsincdate ; \
|
||||
fi
|
||||
|
||||
defs.inc : defsincdate Makefile mkdefsinc
|
||||
|
Loading…
x
Reference in New Issue
Block a user