[xml-security-c] 16/24: Add version number to the manual pages
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Sun Nov 29 19:42:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to branch master
in repository xml-security-c.
commit 71cc4596e7027d3ccd92fafb4412cef54d8ea0ec
Author: Ferenc Wágner <wferi at niif.hu>
Date: Tue Nov 24 17:50:37 2015 +0100
Add version number to the manual pages
In the previous version the VERSION make variable was not set, so the
empty string was substituted. Replace it with a shell variable, which
is set to the Autoconf version number of the package.
---
debian/rules | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 5b29696..85095a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,9 @@ override_dh_auto_configure:
override_dh_install:
dh_install --fail-missing
mkdir -p '$(UTILS_MAN1DIR)'
- set -e; for pod in debian/man-pages/*.pod ; do \
+ set -e; VERSION=$$(./config.status --version | sed 's/.* //;q');\
+ for pod in debian/man-pages/*.pod ; do \
pod2man "$$pod" --section 1 --name=`basename "$$pod"` \
- --center 'Apache XML Security' --release '$(VERSION)' \
+ --center 'Apache XML Security' --release "$$VERSION" \
'$(UTILS_MAN1DIR)'/`basename "$$pod" .pod`.1 ; \
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xml-security-c.git
More information about the Pkg-shibboleth-devel
mailing list