[log4shib] 07/13: Embed the upstream version directly into the log4shib-config man page

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Aug 2 10:42:24 UTC 2016


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

wferi-guest pushed a commit to branch debian/master
in repository log4shib.

commit f6e05d14b88bcc8fbf3fb8ee7b5e41281ff9da18
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Thu Mar 31 14:49:56 2016 +0200

    Embed the upstream version directly into the log4shib-config man page
    
    Git-Dch: ignore
---
 debian/rules | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 105cff7..e0fbc66 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,5 @@
 #!/usr/bin/make -f
 
-VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 \
-		| cut -d- -f1)
-
 # Enable compiler hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
@@ -30,7 +27,8 @@ override_dh_auto_install-indep:
 	$(MAKE) -C doc DESTDIR=$(CURDIR)/debian/tmp install
 
 override_dh_install-arch:
-	pod2man --release=$(VERSION) --section=1 --center=log4shib \
+	pod2man --release='$(word 3,$(shell ./config.status --version))' \
+	    --section=1 --center=log4shib \
 	    debian/log4shib-config.pod debian/log4shib-config.1
 	rm debian/tmp/usr/lib/*/liblog4shib.la
 	dh_install -Xman3 --fail-missing

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



More information about the Pkg-shibboleth-devel mailing list