Debian Codegraph @

debian/createmanpages

raw symbols SCIP
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 NAME=`grep "^Description:" debian/control | sed 's/^Description: *//' | head -n1`
7 PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//' | head -n1`
8
9 AUTHOR=".SH AUTHOR\n \
10 This manpage was written by $DEBFULLNAME for the Debian distribution and\n \
11 can be used for any other usage of the program.\
12 "
13
14 # If program name is different from package name or title should be
15 # different from package short description change this here
16 progname=pycoQC
17 help2man --no-info --no-discard-stderr --help-option=" --help" \
18 --name="computes metrics and generates interactive QC plots from the sequencing summary report generated by Oxford Nanopore technologies basecallers" \
19 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
20 echo $AUTHOR >> $MANDIR/${progname}.1
21
22 progname=Fast5_to_seq_summary
23 help2man --no-info --no-discard-stderr --help-option=" --help" \
24 --name="generate a sequencing summary like file from a directory containing Fast5 files" \
25 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
26 echo $AUTHOR >> $MANDIR/${progname}.1
27
28 progname=Barcode_split
29 help2man --no-info --no-discard-stderr --help-option=" --help" \
30 --name="simple tool to split sequencing summary report in per barcodes" \
31 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
32 echo $AUTHOR >> $MANDIR/${progname}.1
33
34
35 echo "$MANDIR/*.1" > debian/manpages
36
37 cat <<EOT
38 Please enhance the help2man output.
39 The following web page might be helpful in doing so:
40 http://liw.fi/manpages/
41 EOT