diff options
author | Colin Watson <cjwatson@debian.org> | 2022-03-05 13:27:23 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2022-03-05 13:27:23 +0000 |
commit | 743c01be9d10d50d9a3c66b3c81db4f3cc448aad (patch) | |
tree | 68c79d5dd4c71052d3fe9192bc840ff72c366a98 /manual | |
parent | 4543f81e0a9eb931c9a11808ea6c6a3290d931b0 (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.am | 2 |
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 $@ |