[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: maint: Help help2man generate reproducible man-pages.
From: |
guix-commits |
Subject: |
04/12: maint: Help help2man generate reproducible man-pages. |
Date: |
Sat, 6 Apr 2024 17:16:32 -0400 (EDT) |
janneke pushed a commit to branch wip-tarball
in repository guix.
commit 34915f43ed2e8b7ae99c3fe2fd65e7b97ff8f57b
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 exported variable.
Change-Id: I6636693695d5502657f1475d93d31949e0b0b39d
---
doc/local.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/local.mk b/doc/local.mk
index 5f014b9c3d..017686137a 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -224,6 +224,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 933766d5b3), guix-commits, 2024/04/06
- 01/12: maint: Cater for running `make dist' from a worktree., guix-commits, 2024/04/06
- 06/12: maint: Generate 'doc/version-LANG.texi' reproducibly., guix-commits, 2024/04/06
- 07/12: maint: Use xgettext.scm wrapper to create .PO files reproducibly., guix-commits, 2024/04/06
- 02/12: maint: Use reproducible timestamps and name for tarball., guix-commits, 2024/04/06
- 03/12: maint: Generate 'doc/version.texi' reproducibly., guix-commits, 2024/04/06
- 04/12: maint: Help help2man generate reproducible man-pages.,
guix-commits <=
- 05/12: maint: Generate AUTHORS and ChangeLog reproducibly., guix-commits, 2024/04/06
- 12/12: maint: Ensure generated file reproducibility for dist., guix-commits, 2024/04/06
- 08/12: maint: Use reproducible Git timestamp for POT-Creation-Date., guix-commits, 2024/04/06
- 10/12: maint: Avoid PNG and PDF generation to fail silently., guix-commits, 2024/04/06
- 09/12: maint: Remove %%CreationDate from generated EPS files, guix-commits, 2024/04/06
- 11/12: maint: Reset CreationDate metadata on generated PDFs., guix-commits, 2024/04/06