summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/roff/de/Makefile
blob: 08632011e286bbf0d060e7628add70be34183f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $OpenBSD: Makefile,v 1.15 2022/08/02 10:59:51 schwarze Exp $

REGRESS_TARGETS	 = append cond empty escname factorial
REGRESS_TARGETS	+= indir infinite startde tab TH Dd
LINT_TARGETS	 = escname indir infinite

# groff-1.22.4 defect:
# infinite recursion aborts output completely

SKIP_GROFF	 = infinite


# --- local rules ---

REGRESS_TARGETS	+= TH_opt Dd_opt

TH_opt.in: TH.in
	cp ${.ALLSRC} ${.TARGET}

Dd_opt.in: Dd.in
	cp ${.ALLSRC} ${.TARGET}

TH_opt.mandoc_ascii: TH_opt.in
	${MANDOC} ${MOPTS} -Ios=OpenBSD -Tascii -man TH_opt.in > ${.TARGET}

Dd_opt.mandoc_ascii: Dd_opt.in
	${MANDOC} ${MOPTS} -Ios=OpenBSD -Tascii -mdoc Dd_opt.in > ${.TARGET}

TH_opt.out_ascii: TH_opt.in
	${GROFF} -Tascii -man TH_opt.in > ${.TARGET}

Dd_opt.out_ascii: Dd_opt.in
	${GROFF} -Tascii -mdoc Dd_opt.in > ${.TARGET}

clean: local-clean

local-clean: 
	rm -f TH_opt.in Dd_opt.in

.include <bsd.regress.mk>