Debian Codegraph @

debian/createmanpages

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 MANDIR=debian/man
3 mkdirscip-shell system . . mkdir. -p $MANDIR
4
5 VERSION=`dpkg-parsechangelogscip-shell system . . dpkg-parsechangelog. | awkscip-shell system . . awk. '/^Version:/ {print $2}scip-shell filesystem . . `/^Version:/ {print $2}`.' | sedscip-shell system . . sed. -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
6 NAME=`grepscip-shell system . . grep. "^Description:" debian/control | sedscip-shell system . . sed. 's/^Description: *//' | headscip-shell system . . head. -n1`
7 PROGNAME=`grepscip-shell system . . grep. "^Package:" debian/control | sedscip-shell system . . sed. 's/^Package: *//' | headscip-shell system . . head. -n1`
8
9 # If program name is different from package name or title should be
10 # different from package short description change this here
11 progname=CAT_pack
12 help2man --no-info --no-discard-stderr --help-option=" -h" \
13 --name="$NAME" \
14 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
15 echoscip-shell system . . echo. $AUTHOR >> $MANDIR/${progname}.1
16
17 echoscip-shell system . . echo. "$MANDIR/*.1" > debian/manpages
18
19 catscip-shell system . . cat. <<EOT
20 Please enhance the help2man output.
21 The following web page might be helpful in doing so:
22 http://liw.fi/manpages/
23 EOT