summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2022-03-05 13:27:23 +0000
committerColin Watson <cjwatson@debian.org>2022-03-05 13:27:23 +0000
commit743c01be9d10d50d9a3c66b3c81db4f3cc448aad (patch)
tree68c79d5dd4c71052d3fe9192bc840ff72c366a98 /manual
parent4543f81e0a9eb931c9a11808ea6c6a3290d931b0 (diff)
Make the man-db manual build reproducible
Inspired by a patch from B. Wiedemann, but implemented differently. * manual/Makefile.am (version): Set "td" string to the package's release date, since otherwise groff's me package will use the current date. * NEWS.md: Document this.
Diffstat (limited to 'manual')
-rw-r--r--manual/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/Makefile.am b/manual/Makefile.am
index 8da18831..c3b77d3c 100644
--- a/manual/Makefile.am
+++ b/manual/Makefile.am
@@ -57,7 +57,7 @@ CLEANFILES = \
SOELIM = soelim
version: $(top_srcdir)/configure.ac
- echo '.ds V $(roff_version)' > $@
+ (echo '.ds V $(roff_version)'; echo '.ds td $(date)') > $@
$(MANUAL).pp: $(ME_FILES) version
$(SOELIM) -I$(srcdir) man_db.me | tbl > $@.new && mv -f $@.new $@