File: docmaker

package info (click to toggle)
splat 1.1.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 536 kB
  • ctags: 207
  • sloc: cpp: 4,594; ansic: 697; sh: 243; makefile: 43
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!"