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

Scott Cantor cantor.2 at osu.edu
Tue Oct 19 16:14:28 UTC 2021


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

scantor pushed a commit to annotated tag debian/1.0.9-3
in repository cpp-log4shib.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-log4shib.git;a=commit;h=f6e05d14b88bcc8fbf3fb8ee7b5e41281ff9da18

commit f6e05d14b88bcc8fbf3fb8ee7b5e41281ff9da18
Author: Ferenc Wágner <wferi at niif.hu>
AuthorDate: 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list