This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository laszip.

commit d3dff7c24774a0e41f0855aa904d0512ba0ea811
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Thu Apr 23 20:48:14 2015 +0200

    Set the date embedded in man pages to the build date for reproducible 
builds.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 300d98b..e5bc8d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 # DH_VERBOSE := 1
 
+BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C 
date -u "+%d %B %Y" -f -)
+
 VERBOSE=1
 
 MANPAGES:=$(wildcard debian/man/*.*.xml)
@@ -17,7 +19,7 @@ override_dh_clean:
 override_dh_auto_build:
        # Create man pages from DocBook XML
        for x in $(MANPAGES) ; do \
-         docbook2x-man $$x ; \
+         docbook2x-man --string-param header-3="$(BUILD_DATE)" $$x ; \
          mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
        done
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/laszip.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to