aboutsummaryrefslogtreecommitdiff
path: root/t/Makefile
blob: 122da6d1cb01139e8df36c670df391c03468319e (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 -z $<

.t.pdf: g.tmac t.tmac
	groff -Tps $< | ps2pdf - > $@