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
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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")))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue