aboutsummaryrefslogtreecommitdiff
path: root/toc
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-24 10:55:19 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-24 13:51:58 +0200
commit4ef9c2b48f9fcdc5b8c347367566a987a9893aa2 (patch)
treeabc418a0d9022740e78514951fa4e806eb9bee2d /toc
parent36528d22c7a609d5e981fca3d7429048140ccca2 (diff)
downloadmk-4ef9c2b48f9fcdc5b8c347367566a987a9893aa2.tar.gz
README.t: Add PDF bookmarks, links
Diffstat (limited to 'toc')
-rw-r--r--toc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/toc/Makefile b/toc/Makefile
index d6d2a6e..2cc92ac 100644
--- a/toc/Makefile
+++ b/toc/Makefile
@@ -1,5 +1,7 @@
+TROFF ?= groff -Tps
+
README.pdf: README.t toc.tmac toc
- <README.t ./toc groff -Tps | ps2pdf - > README.pdf
+ <README.t ./toc $(TROFF) | ps2pdf - > README.pdf
example.pdf: example.t toc.tmac toc
- <example.t ./toc groff -Tps | ps2pdf - > example.pdf
+ <example.t ./toc $(TROFF) | ps2pdf - > example.pdf