aboutsummaryrefslogtreecommitdiff
path: root/t/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 't/Makefile')
-rw-r--r--t/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/t/Makefile b/t/Makefile
index 6027724..58e5d3d 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -3,9 +3,13 @@ TEST != ls *.t | sed 's/t$$/T/'
all: $(TEST)
-.t.T:
+g.tmac: ../g.tmac
+ cp g.tmac g.tmac.orig
+ grep -v '^\. *w ' ../g.tmac > g.tmac
+
+.t.T: g.tmac t.tmac
@echo -- $< -----------------------
@groff -Tps $< >/dev/null
-.t.pdf:
+.t.pdf: g.tmac t.tmac
groff -Tps $< | ps2pdf - > $@