[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: maint: Ensure generated file reproducibility for dist.
From: |
guix-commits |
Subject: |
04/08: maint: Ensure generated file reproducibility for dist. |
Date: |
Wed, 3 Apr 2024 02:44:07 -0400 (EDT) |
janneke pushed a commit to branch wip-tarball
in repository guix.
commit c14f084b802eff778251e4e301fd0fbe43352d7a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Sep 8 10:46:30 2023 +0200
maint: Ensure generated file reproducibility for dist.
* doc/local.mk (override $(srcdir)/doc/stamp-vti): New target override.
(man-clean): New target.
(auto-clean): Depend on it in new target.
(dist-hook): Depend on it.
Change-Id: Id49e18703b26666032f5eb41b3604990fe4bdb93
---
doc/local.mk | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/doc/local.mk b/doc/local.mk
index 936a561986..7ae2955e5f 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -6,6 +6,7 @@
# Copyright © 2016, 2018 Mathieu Lirzin <mthl@gnu.org>
# Copyright © 2018, 2021 Julien Lepiller <julien@lepiller.eu>
# Copyright © 2019 Timothy Sample <samplet@ngyro.com>
+# Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
#
# This file is part of GNU Guix.
#
@@ -268,3 +269,14 @@ override $(srcdir)/doc/stamp-vti: $(srcdir)/doc/guix.texi
echo "@set VERSION $(VERSION)"; } > $@-t; \
mv $@-t $@
@cp $@ $(srcdir)/doc/version.texi
+
+dist: auto-clean
+auto-clean: maintainer-clean-vti man-clean
+ rm -f ABOUT-NLS INSTALL
+ rm -f configure libtool Makefile.in
+ git clean -fdx -- build-aux
+ ./bootstrap
+ ./config.status
+
+man-clean:
+ rm -f $(srcdir)/doc/*.1
- branch wip-tarball created (now 91d5da26fa), guix-commits, 2024/04/03
- 02/08: maint: Use reproducible timestamps and name for tarball., guix-commits, 2024/04/03
- 05/08: maint: Help help2man generate reproducible man-pages., guix-commits, 2024/04/03
- 06/08: maint: Generate 'version-LANG.texi' reproducibly., guix-commits, 2024/04/03
- 01/08: maint: Cater for running `make dist' from a worktree., guix-commits, 2024/04/03
- 04/08: maint: Ensure generated file reproducibility for dist.,
guix-commits <=
- 03/08: maint: Generate 'version.texi' reproducibly., guix-commits, 2024/04/03
- 07/08: maint: Use reproducible POT-Creation-Date., guix-commits, 2024/04/03
- 08/08: maint: Update PO upon "make dist"., guix-commits, 2024/04/03