aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 065b120..cc656ae 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,8 @@
-example.pdf: example.t g.tmac
+all: example.pdf hacking.pdf
+
+hacking.pdf: hacking.t g.tmac
+ perl -pe '$$_=`$$_` if s/^\!//' hacking.t |\
+ groff -Tps | ps2pdf - > hacking.pdf
+
+example.pdf: hacking.pdf g.tmac
groff -Tps example.t | ps2pdf - > example.pdf