diff --git a/makefile b/makefile index 3854466..ea24401 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # Build a release of 'tren' using 'make' -# $Id: makefile,v 1.102 2010/08/27 17:31:52 tundra Exp $ +# $Id: makefile,v 1.103 2010/08/27 20:16:40 tundra Exp $ # Requires a modern 'make' like GNU. @@ -76,7 +76,7 @@ @gzip $< %.latex: %.rst - rst2newlatex $< >$@ + rst2newlatex $< >$@ ### # LaTeX, PostScript, & PDF @@ -84,6 +84,8 @@ %.dvi: %.latex latex $< + latex $< + latex $< %.pdf: %.dvi @dvipdf $< $@ @@ -96,10 +98,10 @@ ### %.py.ps: %.py - @enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< + @enscript -Epython --color -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< %.sh.ps: % - @enscript -Esh -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< + @enscript -Esh --color -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< ##### @@ -120,7 +122,7 @@ clean: @rm -rf ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${DOCSOURCES} ${TARBALL} ${TMPFILE} \ - *.1 *.aux *.dvi *.log *.out *.core *~ + *.1 *.aux *.dvi *.latex *.log *.out *.core *~ docs: ${DOCSOURCES} ${DOCFILES} @chmod 644 ${DOCFILES} ${DOCSOURCES}