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=AlignRecords.py
17 help2man --no-info --no-discard-stderr --help-option="-h" \
18 --name="$NAME" \
19 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
20 echo $AUTHOR >> $MANDIR/${progname}.1
21
22 echo "$MANDIR/*.1" > debian/manpages
23
24 cat <<EOT
25 Please enhance the help2man output.
26 The following web page might be helpful in doing so:
27 http://liw.fi/manpages/
28 EOT
29
30 progname=AssignGenes.py
31 help2man --no-info --no-discard-stderr --help-option="-h" \
32 --name="$NAME" \
33 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
34 echo $AUTHOR >> $MANDIR/${progname}.1
35
36 echo "$MANDIR/*.1" > debian/manpages
37
38 cat <<EOT
39 Please enhance the help2man output.
40 The following web page might be helpful in doing so:
41 http://liw.fi/manpages/
42 EOT
43
44 progname=BuildTrees.py
45 help2man --no-info --no-discard-stderr --help-option="-h" \
46 --name="$NAME" \
47 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
48 echo $AUTHOR >> $MANDIR/${progname}.1
49
50 echo "$MANDIR/*.1" > debian/manpages
51
52 cat <<EOT
53 Please enhance the help2man output.
54 The following web page might be helpful in doing so:
55 http://liw.fi/manpages/
56 EOT
57
58 progname=ConvertDb.py
59 help2man --no-info --no-discard-stderr --help-option="-h" \
60 --name="$NAME" \
61 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
62 echo $AUTHOR >> $MANDIR/${progname}.1
63
64 echo "$MANDIR/*.1" > debian/manpages
65
66 cat <<EOT
67 Please enhance the help2man output.
68 The following web page might be helpful in doing so:
69 http://liw.fi/manpages/
70 EOT
71
72 progname=CreateGermlines.py
73 help2man --no-info --no-discard-stderr --help-option="-h" \
74 --name="$NAME" \
75 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
76 echo $AUTHOR >> $MANDIR/${progname}.1
77
78 echo "$MANDIR/*.1" > debian/manpages
79
80 cat <<EOT
81 Please enhance the help2man output.
82 The following web page might be helpful in doing so:
83 http://liw.fi/manpages/
84 EOT
85
86 progname=DefineClones.py
87 help2man --no-info --no-discard-stderr --help-option="-h" \
88 --name="$NAME" \
89 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
90 echo $AUTHOR >> $MANDIR/${progname}.1
91
92 echo "$MANDIR/*.1" > debian/manpages
93
94 cat <<EOT
95 Please enhance the help2man output.
96 The following web page might be helpful in doing so:
97 http://liw.fi/manpages/
98 EOT
99
100 progname=MakeDb.py
101 help2man --no-info --no-discard-stderr --help-option="-h" \
102 --name="$NAME" \
103 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
104 echo $AUTHOR >> $MANDIR/${progname}.1
105
106 echo "$MANDIR/*.1" > debian/manpages
107
108 cat <<EOT
109 Please enhance the help2man output.
110 The following web page might be helpful in doing so:
111 http://liw.fi/manpages/
112 EOT
113
114 progname=ParseDb.py
115 help2man --no-info --no-discard-stderr --help-option="-h" \
116 --name="$NAME" \
117 --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
118 echo $AUTHOR >> $MANDIR/${progname}.1
119
120 echo "$MANDIR/*.1" > debian/manpages
121
122 cat <<EOT
123 Please enhance the help2man output.
124 The following web page might be helpful in doing so:
125 http://liw.fi/manpages/
126 EOT
127