| | # Build a release of tperimeter using 'make' |
---|
| | # $Id: makefile,v 1.101 2006/04/28 21:46:58 tundra Exp $ |
---|
| | # $Id: makefile,v 1.102 2006/04/29 08:13:40 tundra Exp $ |
---|
| | # Requires a modern 'make' like GNU. |
---|
| | |
---|
| | |
---|
| | # Uncomment One Of The Following For Early Releases |
---|
| |
---|
| | PROGNAME = tperimeter |
---|
| | |
---|
| | PORTNAME = ${PROGNAME} |
---|
| | |
---|
| | PROGFILES = ${PROGNAME}.py |
---|
| | PROGFILES = ${PROGNAME}.py ${PROGNAME}-ui.html rebuild-hosts.allow.sh |
---|
| | |
---|
| | SUPPFILES = ${PROGNAME}-license.txt CHANGELOG.txt Makefile READ-1ST.txt WHATSNEW.txt setup.py |
---|
| | SUPPFILES = ${PROGNAME}-license.txt CHANGELOG.txt WHATSNEW.txt |
---|
| | |
---|
| | DOCFILES = ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.txt \ |
---|
| | DOCFILES = ${PROGNAME}-doc.html ${PROGNAME}-doc.pdf ${PROGNAME}-doc.ps ${PROGNAME}.py.ps ${PROGNAME}-doc.txt \ |
---|
| | ${PROGNAME}.1.gz |
---|
| | |
---|
| | |
---|
| | ##### |
---|
| |
---|
| | %.pdf: %.ps |
---|
| | @gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=$@ $< |
---|
| | |
---|
| | %.ps: %.1 |
---|
| | @groff -man -Tps $< >$@ |
---|
| | |
---|
| | %.ps: %.3 |
---|
| | @groff -man -Tps $< >$@ |
---|
| | |
---|
| | %.py.ps: %.py |
---|
| | @enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< |
---|
| |
---|
| | @chmod 644 *.gz *.txt |
---|
| | @flip -u *txt |
---|
| | |
---|
| | progs: ${PROGFILES} |
---|
| | chmod 755 ${PROGFILES} |
---|
| | chmod 740 ${PROGFILES} |
---|
| | |
---|
| | release: docs progs |
---|
| | @mkdir ${DIR} |
---|
| | @mv ${DOCFILES} ${PROGFILES} ${SUPPFILES} ${DIR} |
---|
| |
---|
| | |