[med-svn] r16718 - trunk/package_template
Andreas Tille
tille at moszumanska.debian.org
Thu Apr 17 08:55:17 UTC 2014
Author: tille
Date: 2014-04-17 08:55:17 +0000 (Thu, 17 Apr 2014)
New Revision: 16718
Modified:
trunk/package_template/createmanpages
Log:
Ignore +dfsg extension to version in manpages
Modified: trunk/package_template/createmanpages
===================================================================
--- trunk/package_template/createmanpages 2014-04-16 17:44:28 UTC (rev 16717)
+++ trunk/package_template/createmanpages 2014-04-17 08:55:17 UTC (rev 16718)
@@ -1,8 +1,8 @@
#!/bin/sh
-MANDIR=debian/mans
+MANDIR=debian
mkdir -p $MANDIR
-VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//'`
+VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
help2man --no-info --no-discard-stderr --help-option=" " \
--name='<optional description of the program>' \
More information about the debian-med-commit
mailing list