[wcstools] 02/02: Set correct version string for help2man
Ole Streicher
olebole at moszumanska.debian.org
Fri Jun 12 12:31:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository wcstools.
commit 603ba953df44cdcec261058b0e124be19dca3ab8
Author: Ole Streicher <olebole at debian.org>
Date: Fri Jun 12 14:30:43 2015 +0200
Set correct version string for help2man
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 65acf3c..44c03a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ override_dh_installman:
for i in `ls bin` ; do \
if [ ! -f man/man1/$$i.1 ] ; then \
NAME=`fgrep $$i wcstools | sed "s/:/ \\\\- /"` ; \
- LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:libwcs help2man --no-discard-stderr --version-string=3.8.7 -N -h "" -n "$NAME" bin/$$i | fgrep -v WCSTools > man/man_generated/$$i.1 ; \
+ LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:libwcs help2man --no-discard-stderr --version-string="$(shell dpkg-parsechangelog -S Version | cut -d- -f1)" -N -h "" -n "$NAME" bin/$$i | fgrep -v WCSTools > man/man_generated/$$i.1 ; \
fi \
done
dh_installman
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/wcstools.git
More information about the debian-science-commits
mailing list