Debian Codegraph @

debian/createmanpages

raw
1 #!/bin/sh
2 MANDIR=debian/mans
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=tradis_comparison
12 help2man --no-info --no-discard-stderr --help-option=" " \
13 --name='bio-tradis: compares two experimental conditions using the method of Dembek et al.' \
14 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
15 echo $AUTHOR >> $MANDIR/${progname}.1
16
17 progname=tradis_essentiality
18 help2man --no-info --no-discard-stderr --help-option=" " \
19 --name='bio-tradis: produces calls of gene essentiality using an adaptation of the method described in Langridge et al.' \
20 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
21 echo $AUTHOR >> $MANDIR/${progname}.1
22
23 progname=tradis_merge_plots
24 help2man --no-info --no-discard-stderr --help-option=" " \
25 --name='bio-tradis: Given a study name or ID, group by sample and tag, and generate tab files for input to R' \
26 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
27 echo $AUTHOR >> $MANDIR/${progname}.1
28
29 cat <<EOT
30 Please enhance the help2man output.
31 The following web page might be helpful in doing so:
32 http://liw.fi/manpages/
33 EOT
34