Use createmanpages to get manpage that is not refering to not existing info page
Andreas Tille
3 years ago
|
0 |
#!/bin/sh
|
|
1 |
MANDIR=debian
|
|
2 |
mkdir -p $MANDIR
|
|
3 |
|
|
4 |
VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
|
|
5 |
NAME=`grep "^Description:" debian/control | sed 's/^Description: *//' | head -n1`
|
|
6 |
PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//' | head -n1`
|
|
7 |
|
|
8 |
AUTHOR=".SH AUTHOR\n \
|
|
9 |
This manpage was written by $DEBFULLNAME for the Debian distribution and\n \
|
|
10 |
can be used for any other usage of the program.\
|
|
11 |
"
|
|
12 |
|
|
13 |
# If program name is different from package name or title should be
|
|
14 |
# different from package short description change this here
|
|
15 |
progname=pauvre
|
|
16 |
help2man --no-info --no-discard-stderr --help-option=" " \
|
|
17 |
--name="$NAME" \
|
|
18 |
--version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
|
|
19 |
echo $AUTHOR >> $MANDIR/${progname}.1
|
|
20 |
|
|
21 |
echo "$MANDIR/*.1" > debian/manpages
|
|
22 |
|
|
23 |
cat <<EOT
|
|
24 |
Please enhance the help2man output.
|
|
25 |
The following web page might be helpful in doing so:
|
|
26 |
http://liw.fi/manpages/
|
|
27 |
EOT
|
0 | |
debian/pauvre.1
|
|
0 |
debian/*.1
|
0 | |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.14.
|
|
0 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
|
1 | 1 |
.TH PAUVRE "1" "April 2020" "pauvre 0.1924" "User Commands"
|
2 | 2 |
.SH NAME
|
3 | 3 |
pauvre \- QC and genome browser plotting Oxford Nanopore and PacBio long reads
|
|
34 | 34 |
synplot
|
35 | 35 |
make a synteny plot from a gff file, protein
|
36 | 36 |
alignment, and partition file
|
37 | |
.SH "SEE ALSO"
|
38 | |
The full documentation for
|
39 | |
.B pauvre
|
40 | |
is maintained as a Texinfo manual. If the
|
41 | |
.B info
|
42 | |
and
|
43 | |
.B pauvre
|
44 | |
programs are properly installed at your site, the command
|
45 | |
.IP
|
46 | |
.B info pauvre
|
47 | |
.PP
|
48 | |
should give you access to the complete manual.
|
|
37 |
.SH AUTHOR
|
|
38 |
This manpage was written by Andreas Tille for the Debian distribution and
|
|
39 |
can be used for any other usage of the program.
|