aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 485c8e323300eb147dc1a077af22acc67a0d39eb (plain)
1
2
3
4
5
6
7
8
9
all: README.pdf hacking.pdf

hacking.pdf: hacking.t g.tmac
	perl -pe '$$_=`$$_` if s/^\!//' hacking.t |\
	troff -x3 | dpost | ps2pdf - > 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