[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: maint: Help help2man generate reproducible man-pages.
From: |
guix-commits |
Subject: |
05/07: maint: Help help2man generate reproducible man-pages. |
Date: |
Wed, 3 Apr 2024 05:39:01 -0400 (EDT) |
janneke pushed a commit to branch wip-tarball
in repository guix.
commit 90030526679a25b64423a5a19ee39a69df812485
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Sep 9 13:35:40 2023 +0200
maint: Help help2man generate reproducible man-pages.
* doc/local.mk (SOURCE_DATE_EPOCH): New variable.
Change-Id: I6636693695d5502657f1475d93d31949e0b0b39d
---
doc/local.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/local.mk b/doc/local.mk
index a81767057e..2f413cfecd 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -225,6 +225,9 @@ gen_man = \
$(HELP2MANFLAGS)
HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME)
+# help2man reproducibility
+SOURCE_DATE_EPOCH = $(shell git show HEAD --format=%ct --no-patch 2>/dev/null
|| echo 0)
+export SOURCE_DATE_EPOCH
$(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans)
-$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1`
- branch wip-tarball created (now 2d748d8e82), guix-commits, 2024/04/03
- 06/07: maint: Generate 'version-LANG.texi' reproducibly., guix-commits, 2024/04/03
- 01/07: maint: Cater for running `make dist' from a worktree., guix-commits, 2024/04/03
- 02/07: maint: Use reproducible timestamps and name for tarball., guix-commits, 2024/04/03
- 07/07: maint: Use reproducible POT-Creation-Date., guix-commits, 2024/04/03
- 05/07: maint: Help help2man generate reproducible man-pages.,
guix-commits <=
- 04/07: maint: Ensure generated file reproducibility for dist., guix-commits, 2024/04/03
- 03/07: maint: Generate 'version.texi' reproducibly., guix-commits, 2024/04/03