guix-commits
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]