aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-22 21:26:49 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-22 21:26:49 +0200
commit92ab79cc00be5fb01a07f3381efdc3fc9bdc2348 (patch)
tree1532122453b29abea1bc37aecaae2dbab2abf78e /Makefile
parenta85c6cc8b1f445883389fc65fa170b538291b7d6 (diff)
downloadmk-92ab79cc00be5fb01a07f3381efdc3fc9bdc2348.tar.gz
example.t: Add table of contents
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cc656ae..da50c12 100644
--- a/Makefile
+++ b/Makefile
@@ -4,5 +4,5 @@ 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
+example.pdf: example.t g.tmac
+ toc/groc example.t | ps2pdf - > example.pdf