File: docmaker

package info (click to toggle)
splat 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,332 kB
  • sloc: cpp: 8,650; ansic: 993; sh: 442; lisp: 244; makefile: 31
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!"