From 081c902f16a2f251df4593f090b3978dfa473a26 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 30 Nov 2015 11:27:30 +0100 Subject: [PATCH] doc: Build man pages with the same date as the info files. * doc/Makefile.am (yat2m-stamp): Use option --date. -- This changes allows reproducible builds. Debian-bug-id: 806494 --- doc/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/Makefile.am b/doc/Makefile.am index c6a5e25b3..50d472504 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -108,8 +108,10 @@ mkdefsinc: mkdefsinc.c Makefile ../config.h yat2m-stamp: $(myman_sources) defs.inc @rm -f yat2m-stamp.tmp @touch yat2m-stamp.tmp + incd="`test -f defsincdate || echo '$(srcdir)/'`defsincdate"; \ for file in $(myman_sources) ; do \ ./yat2m $(YAT2M_OPTIONS) --store \ + --date "`cat $$incd 2>/dev/null`" \ `test -f '$$file' || echo '$(srcdir)/'`$$file ; done @mv -f yat2m-stamp.tmp $@