aboutsummaryrefslogtreecommitdiff
path: root/t/Makefile
blob: f278324180d4e48e51f25a2d1a20f7bf94333edc (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 -- $< -----------------------
	@troff -x3 $< >/dev/null

.t.pdf: g.tmac t.tmac
	troff -x3 $< | dpost | ps2pdf - > $@