From 89ab76b8109d494d204f81b6d934ea19c8bb7004 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 5 Jun 2022 09:14:23 -0700 Subject: gnu: autogen: Use reproducible date for man pages. * gnu/packages/autogen.scm (autogen)[arguments]: Add 'set-man-page-date phase. --- gnu/packages/autogen.scm | 4 ++++ 1 file changed, 4 insertions(+) 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"))) -- cgit 1.4.1