| | # Build a release of 'tbku' using 'make' |
---|
| | # $Id: makefile,v 1.101 2008/03/11 18:29:14 tundra Exp $ |
---|
| | # $Id: makefile,v 1.102 2008/03/11 19:21:44 tundra Exp $ |
---|
| | # Requires a modern 'make' like GNU. |
---|
| | |
---|
| | |
---|
| | # Uncomment One Of The Following For Early Releases |
---|
| | |
---|
| | #EARLY = Alpha |
---|
| | #EARLY = Beta |
---|
| | #EARLY = RC1 |
---|
| | |
---|
| | |
---|
| | ##### |
---|
| | # Definitions Relevant To This Program |
---|
| | ##### |
---|
| |
---|
| | |
---|
| | DOCSOURCES = ${PROGNAME}-license.txt ${PROGNAME}.txt CHANGELOG.txt Makefile WHATSNEW.txt \ |
---|
| | Imaging-FreeBSD-With-tbku.txt Imaging-SUSE-Linux-With-tbku.txt |
---|
| | |
---|
| | DOCFILES = ${PROGNAME}.1.gz ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps \ |
---|
| | DOCFILES = ${PROGNAME}.1.gz ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.sh.ps\ |
---|
| | Imaging-FreeBSD-With-tbku.html Imaging-SUSE-Linux-With-tbku.html \ |
---|
| | Imaging-FreeBSD-With-tbku.pdf Imaging-SUSE-Linux-With-tbku.pdf \ |
---|
| | Imaging-FreeBSD-With-tbku.ps Imaging-SUSE-Linux-With-tbku.ps |
---|
| | |
---|
| | |
---|
| | ##### |
---|
| | # Nothing Should Need To Change Below This Line |
---|
| | ##### |
---|
| | |
---|
| | |
---|
| | DIR = ${PORTNAME}-${VERSION} |
---|
| | HEADER1 = "WHATSNEW For '${PROGNAME}' ${VERSION} (`date`)" |
---|
| | HEADER2 = "----------------------------------------------------------------------" |
---|
| |
---|
| | |
---|
| | %.py.ps: %.py |
---|
| | @enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< |
---|
| | |
---|
| | %.sh.ps: % |
---|
| | @enscript -Esh -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< |
---|
| | |
---|
| | %.txt: %.1 |
---|
| | @groff -man -Tascii $< | col -xb >$@ |
---|
| | |
---|
| | |
---|
| | |
---|
| | ##### |
---|
| | # Actual Build Rules |
---|
| |
---|
| | |
---|
| | clean: |
---|
| | @rm -rf ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${DOCSOURCES} ${TARBALL} ${TMPFILE} \ |
---|
| | *.1 *.aux *.log *.out *.core *~ |
---|
| | |
---|
| | docs: ${DOCSOURCES} ${DOCFILES} |
---|
| | @chmod 644 ${DOCFILES} ${DOCSOURCES} |
---|
| | @chmod 644 *.gz *.txt |
---|
| | @flip -u *txt |
---|
| |
---|
| | |
---|
| | version: |
---|
| | @echo ${VERSION} |
---|
| | |
---|
| | |
---|
| | |
---|
| | |