[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: maint: Help help2man generate reproducible man-pages.
From: |
guix-commits |
Subject: |
05/13: maint: Help help2man generate reproducible man-pages. |
Date: |
Sat, 13 Apr 2024 06:23:39 -0400 (EDT) |
janneke pushed a commit to branch wip-tarball
in repository guix.
commit eaf353fd2809e3f8168573a5f25a61e90b606117
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 3628d36ed6..da8e55e905 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 1)
+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 5503b888cd), guix-commits, 2024/04/13
- 04/13: maint: Generate 'doc/version.texi' reproducibly., guix-commits, 2024/04/13
- 06/13: maint: Generate AUTHORS and ChangeLog reproducibly., guix-commits, 2024/04/13
- 02/13: maint: Cater for running `make dist' from a worktree., guix-commits, 2024/04/13
- 08/13: maint: Use xgettext.scm wrapper to create .PO files reproducibly., guix-commits, 2024/04/13
- 09/13: maint: Use reproducible Git timestamp for POT-Creation-Date., guix-commits, 2024/04/13
- 12/13: maint: Reset CreationDate metadata on generated PDFs., guix-commits, 2024/04/13
- 05/13: maint: Help help2man generate reproducible man-pages.,
guix-commits <=
- 01/13: doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images., guix-commits, 2024/04/13
- 03/13: maint: Use reproducible timestamps and name for tarball., guix-commits, 2024/04/13
- 07/13: maint: Generate 'doc/version-LANG.texi' reproducibly., guix-commits, 2024/04/13
- 10/13: maint: Avoid EPS generation to fail silently, ensure reproducibility., guix-commits, 2024/04/13
- 11/13: maint: Avoid PNG and PDF generation to fail silently., guix-commits, 2024/04/13
- 13/13: maint: Ensure generated file reproducibility for dist., guix-commits, 2024/04/13