[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70169] [PATCH v3 05/13] maint: Help help2man generate reproducible
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#70169] [PATCH v3 05/13] maint: Help help2man generate reproducible man-pages. |
Date: |
Mon, 8 Apr 2024 18:46:48 +0000 |
* 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..595710a5b8 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`
--
2.41.0
- [bug#70169] [PATCH v3 10/13] maint: Avoid EPS generation to fail silently, ensure reproducibility., (continued)
- [bug#70169] [PATCH v3 10/13] maint: Avoid EPS generation to fail silently, ensure reproducibility., Janneke Nieuwenhuizen, 2024/04/08
- [bug#70169] [PATCH v3 11/13] maint: Avoid PNG and PDF generation to fail silently., Janneke Nieuwenhuizen, 2024/04/08
- [bug#70169] [PATCH v3 13/13] maint: Ensure generated file reproducibility for dist., Janneke Nieuwenhuizen, 2024/04/08
- [bug#70169] [PATCH v3 08/13] maint: Use xgettext.scm wrapper to create .PO files reproducibly., Janneke Nieuwenhuizen, 2024/04/08
- [bug#70169] [PATCH v3 06/13] maint: Generate AUTHORS and ChangeLog reproducibly., Janneke Nieuwenhuizen, 2024/04/08
- [bug#70169] [PATCH v3 09/13] maint: Use reproducible Git timestamp for POT-Creation-Date., Janneke Nieuwenhuizen, 2024/04/08
- [bug#70169] [PATCH v3 05/13] maint: Help help2man generate reproducible man-pages.,
Janneke Nieuwenhuizen <=
- [bug#70169] [PATCH v3 12/13] maint: Reset CreationDate metadata on generated PDFs., Janneke Nieuwenhuizen, 2024/04/08