gnu: autogen: Use reproducible date for man pages.
* gnu/packages/autogen.scm (autogen)[arguments]: Add 'set-man-page-date phase.
This commit is contained in:
parent
14783af536
commit
89ab76b810
@ -62,6 +62,10 @@
|
|||||||
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-before 'patch-source-shebangs 'patch-test-scripts
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((sh (which "sh")))
|
(let ((sh (which "sh")))
|
||||||
|
Loading…
Reference in New Issue
Block a user