[med-svn] r16305 - trunk/package_template

Andreas Tille tille at moszumanska.debian.org
Mon Feb 24 18:42:38 UTC 2014


Author: tille
Date: 2014-02-24 18:42:38 +0000 (Mon, 24 Feb 2014)
New Revision: 16305

Added:
   trunk/package_template/createmanpages
Log:
Template how to create manpages in case they might be missing


Added: trunk/package_template/createmanpages
===================================================================
--- trunk/package_template/createmanpages	                        (rev 0)
+++ trunk/package_template/createmanpages	2014-02-24 18:42:38 UTC (rev 16305)
@@ -0,0 +1,9 @@
+#!/bin/sh
+MANDIR=debian/mans
+mkdir -p $MANDIR
+
+VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//'`
+
+help2man --no-info --no-discard-stderr --help-option=" " \
+         --name='<optional description of the program>' \
+            --version-string='$VERSION' <programname> > $MANDIR/<programname>.1


Property changes on: trunk/package_template/createmanpages
___________________________________________________________________
Added: svn:executable
   + *




More information about the debian-med-commit mailing list