File: docmaker

package info (click to toggle)
predict 2.2.3-3.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,716 kB
  • sloc: ansic: 19,433; sh: 3,342; makefile: 428; yacc: 318; perl: 82
file content (19 lines) | stat: -rwxr-xr-x 588 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# This script builds the man page, pdf, postscript, html,
# and text documentation from the groff source "predict.man".
echo -n "Creating postscript file... "
groff -T ps -man predict.man > ../postscript/predict.ps
echo
echo -n "Creating man page... "
groff -T ascii -man predict.man > predict.1
echo
echo -n "Creating text file... "
ul -t dumb predict.1 > ../text/predict.txt
echo
#echo -n "Creating HTML file... "
#groff -T html -man predict.man > ../html/predict.html
#echo
echo -n "Creating pdf file... "
ps2pdf ../postscript/predict.ps ../pdf/predict.pdf
echo
echo "Done!"