File: createmanpages

package info (click to toggle)
gatb-core 1.4.1+git20181225.44d5a44+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 17,804 kB
  • sloc: cpp: 48,999; sh: 2,169; xml: 1,333; makefile: 35; python: 32
file content (34 lines) | stat: -rwxr-xr-x 1,237 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
MANDIR=debian/mans
mkdir -p $MANDIR

VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`

AUTHOR=".SH AUTHOR\nThis manpage was written by $DEBFULLNAME for the Debian distribution and
can be used for any other usage of the program.
"

progname=leon
help2man --no-info --no-discard-stderr --help-option=" " \
         --name='reference free compression for NGS reads' \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=dbginfo
help2man --no-info --no-discard-stderr --help-option=" " \
         --name='dumps information about a DeBruinj graph build by dbgh5' \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=dbgh5
help2man --no-info --no-discard-stderr --help-option=" " \
         --name='builds a DeBruijn graph from a set of reads and save it as a HDF5 file' \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

cat <<EOT
Please enhance the help2man output.
The following web page might be helpful in doing so:
    http://liw.fi/manpages/
EOT