Debian Codegraph @

debian/createmanpages

raw
1 #!/bin/sh
2 MANDIR=debian
3 mkdir -p $MANDIR
4
5 VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
6
7 AUTHOR=".SH AUTHOR\nThis manpage was written by $DEBFULLNAME for the Debian distribution and
8 can be used for any other usage of the program.
9 "
10
11 progname=edlib-aligner
12 help2man --no-info --no-discard-stderr --help-option=" " \
13 --name='edlib sequence alignment tool using edit distance' \
14 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
15 echo $AUTHOR >> $MANDIR/${progname}.1
16
17 cat <<EOT
18 Please enhance the help2man output.
19 The following web page might be helpful in doing so:
20 http://liw.fi/manpages/
21 EOT
22