From 4ef9c2b48f9fcdc5b8c347367566a987a9893aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 24 Jun 2021 10:55:19 +0200 Subject: README.t: Add PDF bookmarks, links --- t/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/Makefile b/t/Makefile index f278324..49eaac5 100644 --- a/t/Makefile +++ b/t/Makefile @@ -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) > $@ -- cgit v1.2.3