diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-24 10:55:19 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-24 13:51:58 +0200 |
commit | 4ef9c2b48f9fcdc5b8c347367566a987a9893aa2 (patch) | |
tree | abc418a0d9022740e78514951fa4e806eb9bee2d /t/Makefile | |
parent | 36528d22c7a609d5e981fca3d7429048140ccca2 (diff) | |
download | mk-4ef9c2b48f9fcdc5b8c347367566a987a9893aa2.tar.gz |
README.t: Add PDF bookmarks, links
Diffstat (limited to 't/Makefile')
-rw-r--r-- | t/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,9 @@ .SUFFIXES: .t .T .pdf TEST != ls *.t | sed 's/t$$/T/' +TROFF ?= troff +PDFROFF ?= troff | dpost | ps2pdf - + all: $(TEST) g.tmac: ../g.tmac @@ -9,7 +12,7 @@ g.tmac: ../g.tmac .t.T: g.tmac t.tmac @echo -- $< ----------------------- - @troff -x3 $< >/dev/null + @<$< $(TROFF) >/dev/null .t.pdf: g.tmac t.tmac - troff -x3 $< | dpost | ps2pdf - > $@ + <$< $(PDFROFF) > $@ |