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

sebastic pushed a commit to branch master
in repository routino.

commit bb14e89a709e4c6affd21d853cde1d88e3a43af5
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Thu Apr 23 23:34:51 2015 +0200

    Set the date embedded in man pages to the changelog date for reproducible 
builds.
---
 debian/changelog | 7 +++++++
 debian/rules     | 4 +++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 01ddcfe..ccd2b97 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+routino (2.7.3-2) UNRELEASED; urgency=medium
+
+  * Set the date embedded in man pages to the changelog date for
+    reproducible builds.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Thu, 23 Apr 2015 23:34:51 +0200
+
 routino (2.7.3-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index c4d9397..cd31ac4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C 
date -u "+%d %B %Y" -f -)
+
 MANPAGES:=$(wildcard debian/man/*.*.xml)
 
 %:
@@ -20,7 +22,7 @@ override_dh_clean:
 override_dh_auto_build-arch:
        # 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/routino.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