File: docmaker

package info (click to toggle)
splat 1.2.1-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,144 kB
  • ctags: 238
  • sloc: cpp: 6,260; ansic: 761; sh: 251; lisp: 244; makefile: 54
file content (16 lines) | stat: -rwxr-xr-x 480 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# This script builds the man page, pdf, and postscript
# and text documentation from the groff source "splat.man".
echo -n "Creating postscript file... "
groff -e -T ps -man splat.man > ../postscript/splat.ps
echo
echo -n "Creating man page... "
groff -e -T ascii -man splat.man > splat.1
echo
echo -n "Creating text file... "
ul -t dumb splat.1 > ../text/splat.txt
echo
echo -n "Creating pdf file... "
ps2pdf ../postscript/splat.ps ../pdf/splat.pdf
echo
echo "Done!"