mirror of
https://git.savannah.gnu.org/git/inetutils.git
synced 2026-01-12 00:19:39 +08:00
maint: Reproducible tarball fixes for Texinfo manual.
Makefile.am (texi-stamps-to-mtime-NEWS): Set modtime of doc/inetutils.texi to that of NEWS file on "make dist", so that stamp-vti and version.texi have a reproducible time stamp.
This commit is contained in:
@@ -78,3 +78,8 @@ mtime-NEWS-to-git-HEAD:
|
||||
&& command -v git > /dev/null; then \
|
||||
touch -m -t "$$($(GIT_NEWS_MTIME_CMD))" $(srcdir)/NEWS; \
|
||||
fi
|
||||
|
||||
dist-hook: texi-stamps-to-mtime-NEWS
|
||||
.PHONY: texi-stamps-to-mtime-NEWS
|
||||
texi-stamps-to-mtime-NEWS: mtime-NEWS-to-git-HEAD
|
||||
$(AM_V_GEN)touch -m -r $(srcdir)/NEWS $(srcdir)/doc/$(PACKAGE).texi
|
||||
|
||||
Reference in New Issue
Block a user