home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #
- # SET SITE-SPECIFIC VARIABLES HERE!
- #
-
- REFDIR=.
-
- #
- # The PRINTER variable needs to be set to the printer you wish to print to.
- # For best results, it should be a POSTSCRIPT printer.
- #
-
- PRINTER=-Plw
-
- #
- # Check these. IF YOU DO NOT HAVE GRN, YOU WILL NEED TO GET IT IN ORDER TO
- # PRINT THIS DOCUMENT.
- #
-
- MACROS="-me"
-
- GROFF="groff -spt $MACROS "
-
- cd $REFDIR
-
- # ----------------
- # collect sources
- # ----------------
- SOURCES='pgtmacs '
- x=1
- numargs=$#
- while test $x -le $numargs ; do
- SOURCES="$SOURCES $1"
- x=`expr $x + 1`
- shift
- done
-
- # ----------------
- # generate tmp file from sources
- # ----------------
- for i in $SOURCES
- do
- if (test ! -f $i)
- then
- co $i
- fi
- done
-
- # ----------------
- # generate output and remove temp file
- # ----------------
- $GROFF $SOURCES > quickref.t
-