aboutsummaryrefslogtreecommitdiff
path: root/t/Makefile
blob: 58e5d3df1e9aa61b818468cf4d2ba1f90a210552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.SUFFIXES: .t .T .pdf
TEST != ls *.t | sed 's/t$$/T/'

all: $(TEST)

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: g.tmac t.tmac
	groff -Tps $< | ps2pdf - > $@