[med-svn] [Git][med-team/python-pauvre][master] 2 commits: Use createmanpages to get manpage that is not refering to not existing info page
Andreas Tille
gitlab at salsa.debian.org
Wed Apr 29 07:53:08 BST 2020
Andreas Tille pushed to branch master at Debian Med / python-pauvre
Commits:
d6b22a64 by Andreas Tille at 2020-04-29T08:29:32+02:00
Use createmanpages to get manpage that is not refering to not existing info page
- - - - -
e2b807f9 by Andreas Tille at 2020-04-29T08:40:02+02:00
Upload to new
- - - - -
4 changed files:
- debian/changelog
- + debian/createmanpages
- debian/manpages
- debian/pauvre.1
Changes:
=====================================
debian/changelog
=====================================
@@ -1,5 +1,5 @@
-python-pauvre (0.1924-1) UNRELEASED; urgency=medium
+python-pauvre (0.1924-1) unstable; urgency=medium
- * Initial release (Closes: #<bug>)
+ * Initial release (Closes: #958996)
- -- Andreas Tille <tille at debian.org> Fri, 24 Apr 2020 12:49:17 +0200
+ -- Andreas Tille <tille at debian.org> Wed, 29 Apr 2020 08:39:50 +0200
=====================================
debian/createmanpages
=====================================
@@ -0,0 +1,28 @@
+#!/bin/sh
+MANDIR=debian
+mkdir -p $MANDIR
+
+VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
+NAME=`grep "^Description:" debian/control | sed 's/^Description: *//' | head -n1`
+PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//' | head -n1`
+
+AUTHOR=".SH AUTHOR\n \
+This manpage was written by $DEBFULLNAME for the Debian distribution and\n \
+can be used for any other usage of the program.\
+"
+
+# If program name is different from package name or title should be
+# different from package short description change this here
+progname=pauvre
+help2man --no-info --no-discard-stderr --help-option=" " \
+ --name="$NAME" \
+ --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
+echo $AUTHOR >> $MANDIR/${progname}.1
+
+echo "$MANDIR/*.1" > debian/manpages
+
+cat <<EOT
+Please enhance the help2man output.
+The following web page might be helpful in doing so:
+ http://liw.fi/manpages/
+EOT
=====================================
debian/manpages
=====================================
@@ -1 +1 @@
-debian/pauvre.1
+debian/*.1
=====================================
debian/pauvre.1
=====================================
@@ -1,4 +1,4 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.14.
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH PAUVRE "1" "April 2020" "pauvre 0.1924" "User Commands"
.SH NAME
pauvre \- QC and genome browser plotting Oxford Nanopore and PacBio long reads
@@ -35,15 +35,6 @@ outputs stats from a fastq file
synplot
make a synteny plot from a gff file, protein
alignment, and partition file
-.SH "SEE ALSO"
-The full documentation for
-.B pauvre
-is maintained as a Texinfo manual. If the
-.B info
-and
-.B pauvre
-programs are properly installed at your site, the command
-.IP
-.B info pauvre
-.PP
-should give you access to the complete manual.
+.SH AUTHOR
+ This manpage was written by Andreas Tille for the Debian distribution and
+ can be used for any other usage of the program.
View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/compare/c10c53116dc52e815a1488d5eb7183c86c82de29...e2b807f9cd5e2be14048e60c427a35f6c7429a71
--
View it on GitLab: https://salsa.debian.org/med-team/python-pauvre/-/compare/c10c53116dc52e815a1488d5eb7183c86c82de29...e2b807f9cd5e2be14048e60c427a35f6c7429a71
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200429/94cd5bb5/attachment-0001.html>
More information about the debian-med-commit
mailing list