aboutsummaryrefslogtreecommitdiff
path: root/t/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 't/Makefile')
-rw-r--r--t/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/Makefile b/t/Makefile
new file mode 100644
index 0000000..6027724
--- /dev/null
+++ b/t/Makefile
@@ -0,0 +1,11 @@
+.SUFFIXES: .t .T .pdf
+TEST != ls *.t | sed 's/t$$/T/'
+
+all: $(TEST)
+
+.t.T:
+ @echo -- $< -----------------------
+ @groff -Tps $< >/dev/null
+
+.t.pdf:
+ groff -Tps $< | ps2pdf - > $@