summary refs log tree commit diff
path: root/gnu/packages/autogen.scm
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-06-05 09:14:23 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-06-05 17:10:13 -0700
commit89ab76b8109d494d204f81b6d934ea19c8bb7004 (patch)
treecf941696ffb4251db06102add1bc1d48a893a0df /gnu/packages/autogen.scm
parent14783af536a110ef5018518d2af920355b7391f9 (diff)
downloadguix-89ab76b8109d494d204f81b6d934ea19c8bb7004.tar.gz
gnu: autogen: Use reproducible date for man pages.
* gnu/packages/autogen.scm (autogen)[arguments]: Add 'set-man-page-date phase.
Diffstat (limited to 'gnu/packages/autogen.scm')
-rw-r--r--gnu/packages/autogen.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/autogen.scm b/gnu/packages/autogen.scm
index 7213776f07..d0c8df17ec 100644
--- a/gnu/packages/autogen.scm
+++ b/gnu/packages/autogen.scm
@@ -62,6 +62,10 @@
 
        #:phases
        (modify-phases %standard-phases
+         (add-before 'build 'set-man-page-date
+           ;; Avoid embedding the current date for reproducible builds
+           (lambda _
+             (setenv "MAN_PAGE_DATE" "2012-04-18")))
          (add-before 'patch-source-shebangs 'patch-test-scripts
            (lambda _
              (let ((sh (which "sh")))