mbox series

[bug#70380,0/3] Reproducible `make dist' tarball: Avoid override stamp-N warnings.

Message ID cover.1713087991.git.janneke@gnu.org
Headers show
Series Reproducible `make dist' tarball: Avoid override stamp-N warnings. | expand

Message

Janneke Nieuwenhuizen April 14, 2024, 9:56 a.m. UTC
Hi!

Reproducibility is fine and all that but the forteen new make warnings

--8<---------------cut here---------------start------------->8---
Makefile:7400: warning: overriding recipe for target 'doc/stamp-vti'
Makefile:5117: warning: ignoring old recipe for target 'doc/stamp-vti'
Makefile:7401: warning: overriding recipe for target 'doc/stamp-1'
Makefile:5182: warning: ignoring old recipe for target 'doc/stamp-1'
[..]
--8<---------------cut here---------------end--------------->8---

already started to annoy me so much that I found another solution: Overwrite
build-aux/mdate-sh with our own, new build-aux/mdate-from-git.scm script.

It comes with a bit of a hack: because of how Automake's stamp-N rules are
written, the new script needs knowledge about where to get the timestamp for
doc/guix.LANG.texi files.

WDYT?

Greetings,
Janneke

Janneke Nieuwenhuizen (3):
  maint: Generate doc/version[-LANG].texi using `mdate-from-git.scm'.
  Revert "maint: Generate 'doc/version-LANG.texi' reproducibly."
  Revert "maint: Generate 'doc/version.texi' reproducibly."

 bootstrap                    |  7 +++
 build-aux/mdate-from-git.scm | 88 ++++++++++++++++++++++++++++++++++++
 doc/local.mk                 | 32 -------------
 3 files changed, 95 insertions(+), 32 deletions(-)
 create mode 100755 build-aux/mdate-from-git.scm


base-commit: e5dda412c2e28fb65a549824f492895e72c33813