Further cleanup of document templates for use with RST.
1 parent 7e21dfe commit bf1f2ccd5583b42c6eb4a0d1c7dca979434189c2
@tundra tundra authored on 30 Apr 2006
Showing 1 changed file
View
8
makefile
# Build a release of tperimeter using 'make'
# $Id: makefile,v 1.104 2006/05/01 00:10:10 tundra Exp $
# $Id: makefile,v 1.105 2006/05/01 00:27:28 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 WHATSNEW.txt
 
DOCFILES = ${PROGNAME}.dvi ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.txt
DOCFILES = ${PROGNAME}.dvi ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.1.gz
 
 
#####
# Nothing Should Need To Change Below This Line
dvips $< >$@
 
%.py.ps: %.py
@enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $<
 
%.txt: %.1
@groff -man -Tascii $< | col -xb >$@
 
%.txt: %.3
@groff -man -Tascii $< | col -xb >$@
 
%.1.gz: %.1
@gzip $<
 
%.1: %.txt
cat $< >$@
 
%.3.gz: %.3
@gzip $<