[shapelib] 01/03: Set timestamp in manpages generated by ronn to changelog date.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun May 15 18:20:46 UTC 2016


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

sebastic pushed a commit to branch master
in repository shapelib.

commit 608644b31afad679a77ba04538a7be7d389a03f9
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun May 15 19:22:25 2016 +0200

    Set timestamp in manpages generated by ronn to changelog date.
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d86a5b3..880e8fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+shapelib (1.3.0-8) UNRELEASED; urgency=medium
+
+  * Set timestamp in manpages generated by ronn to changelog date.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 15 May 2016 19:22:20 +0200
+
 shapelib (1.3.0-7) unstable; urgency=medium
 
   * Bump Standards-Version to 3.9.8, no changes.
diff --git a/debian/rules b/debian/rules
index bd9e117..cf0104a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+BUILD_DATE := $(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C date -u "+%Y-%m-%d" -f -)
+
 CONTRIB = shpdxf shpproj dbfinfo shpcentrd shpdata shpwkb dbfinfo dbfcat shpinfo shpfix shpcat Shape_PointInPoly shpsort
 
 %:
@@ -15,7 +17,7 @@ override_dh_auto_test:
 override_dh_auto_build:
 	dh_auto_build
 	make -C $(CURDIR)/contrib 
-	ronn -r --manual=shplib debian/man/*.md
+	ronn -r --date="$(BUILD_DATE)" --manual=shplib debian/man/*.md
 
 override_dh_auto_clean:
 	dh_auto_clean

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



More information about the Pkg-grass-devel mailing list