Added rules to produce enscript PS listings for all the program code.
1 parent 66ca331 commit 3bebeb43a58f4ce945bde3bc79bc8702a5ca9da6
@tundra tundra authored on 3 May 2006
Showing 1 changed file
View
13
makefile
# Build a release of tperimeter using 'make'
# $Id: makefile,v 1.110 2006/05/01 05:15:21 tundra Exp $
# $Id: makefile,v 1.111 2006/05/03 06:58:33 tundra Exp $
# Requires a modern 'make' like GNU.
 
 
# Uncomment One Of The Following For Early Releases
PROGFILES = ${PROGNAME}.py ${PROGNAME}-ui.html rebuild-hosts.allow.sh
 
SUPPFILES = ${PROGNAME}-license.txt CHANGELOG.txt Makefile WHATSNEW.txt
 
DOCFILES = ${PROGNAME}.dvi ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.1.gz
DOCFILES = ${PROGNAME}.dvi ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.1.gz \
${PROGNAME}-ui.html.ps rebuild-hosts.allow.sh.ps
 
 
#####
# Nothing Should Need To Change Below This Line
 
%.ps: %.dvi
dvips $< >$@
 
%.html.ps: %.html
@enscript -Ehtml -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $<
 
%.py.ps: %.py
@enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $<
 
%.sh.ps: %.sh
@enscript -Esh -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $<
 
%.txt: %.1
@groff -man -Tascii $< | col -xb >$@
 
%.txt: %.3