diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,9 +1,12 @@ +TROFF ?= troff +PDFROFF ?= troff | dpost | ps2pdf - + all: README.pdf hacking.pdf hacking.pdf: hacking.t g.tmac perl -pe '$$_=`$$_` if s/^\!//' hacking.t |\ - troff -x3 | dpost | ps2pdf - > hacking.pdf + $(PDFROFF) > hacking.pdf README.pdf: README.t g.tmac TROFFONTS=/usr/pkg/share/fonts/X11/TTF/ \ - <README.t toc/toc troff -x3 | dpost | ps2pdf - > README.pdf + <README.t toc/toc $(PDFROFF) > README.pdf |