File: createmanpages

package info (click to toggle)
bamtools 2.5.1%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,832 kB
  • sloc: cpp: 17,888; ansic: 47; sh: 37; makefile: 29
file content (9 lines) | stat: -rwxr-xr-x 328 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
#!/bin/sh
MANDIR=debian
mkdir -p $MANDIR

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

help2man --no-info --no-discard-stderr --help-option=" " \
         --name='<optional description of the program>' \
            --version-string="$VERSION" bamtools > $MANDIR/bamtools.1