[med-svn] [python-pbalign] 04/07: Use proper help2man options

Afif Elghraoui afif-guest at moszumanska.debian.org
Sat Sep 5 09:29:40 UTC 2015


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

afif-guest pushed a commit to branch master
in repository python-pbalign.

commit 42813f2ca925199807285b17065e3849c4c4c182
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sat Sep 5 01:04:24 2015 -0700

    Use proper help2man options
    
    use DEB_VERSION_UPSTREAM to get the upstream version number
    (rather than the Debian version number) and use the correct version
    flag for help2man.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 2f3d62c..2534c11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ include /usr/share/dpkg/default.mk
 export PYBUILD_NAME = pbalign
 
 BUILDDIR = $(CURDIR)/debian/$(DEB_SOURCE)
-HELP2MAN = help2man --no-info -v $(DEB_VERSION)
+HELP2MAN = help2man --no-info --version-string $(DEB_VERSION_UPSTREAM)
 MANDIR = $(BUILDDIR)/usr/share/man/man1
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pbalign.git



More information about the debian-med-commit mailing list