]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/de/Makefile
If a user-defined macro is aborted because it exceeds the stack
[mandoc.git] / regress / roff / de / Makefile
1 # $OpenBSD: Makefile,v 1.9 2015/02/03 19:37:25 schwarze Exp $
2
3 REGRESS_TARGETS = append cond escname factorial indir infinite startde TH Dd
4 LINT_TARGETS = escname indir infinite
5
6 # groff-1.22.3 defect:
7 # infinite recursion aborts output completely
8
9 SKIP_GROFF = infinite
10
11 .include <bsd.regress.mk>
12
13
14 # OpenBSD only: non-standard targets
15
16 # --- additions to public targets ---
17
18 all ascii: ascii-diff-opt
19
20 ascii-clean: ascii-clean-opt
21
22 groff: TH.out_ascii_opt Dd.out_ascii_opt
23
24 groff-clean: groff-clean-opt
25
26
27 # --- local rules ---
28
29 ascii-diff-opt: TH.mandoc_ascii_opt Dd.mandoc_ascii_opt
30 @${DIFF} ${.CURDIR}/TH.out_ascii_opt TH.mandoc_ascii_opt
31 @${DIFF} ${.CURDIR}/Dd.out_ascii_opt Dd.mandoc_ascii_opt
32
33 TH.mandoc_ascii_opt: TH.in
34 @${MANDOC} -Tascii -man ${.ALLSRC} > ${.TARGET}
35
36 Dd.mandoc_ascii_opt: Dd.in
37 @${MANDOC} -Tascii -mdoc ${.ALLSRC} > ${.TARGET}
38
39 ascii-clean-opt:
40 @rm -f TH.mandoc_ascii_opt Dd.mandoc_ascii_opt
41
42 TH.out_ascii_opt: TH.in
43 /usr/local/bin/nroff -c -man -Tascii ${.ALLSRC} > ${.TARGET}
44
45 Dd.out_ascii_opt: Dd.in
46 /usr/local/bin/nroff -c -mdoc -Tascii ${.ALLSRC} > ${.TARGET}
47
48 groff-clean-opt:
49 rm -f TH.out_ascii_opt Dd.out_ascii_opt