aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: f2ee1ae8dd5ad8a18eb4b3da099141b0a75d1a70 (plain)
1
2
3
4
5
6
7
8
all: example.pdf hacking.pdf

hacking.pdf: hacking.t g.tmac
	perl -pe '$$_=`$$_` if s/^\!//' hacking.t |\
	groff -Tps | ps2pdf - > hacking.pdf

example.pdf: example.t g.tmac
	toc/gtoc -Tps example.t | ps2pdf - > example.pdf