1 # $OpenBSD: Makefile,v 1.9 2015/02/03 19:37:25 schwarze Exp $
3 REGRESS_TARGETS = append cond escname factorial indir infinite startde TH Dd
4 LINT_TARGETS = escname indir infinite
7 # infinite recursion aborts output completely
11 .include <bsd.regress.mk>
14 # OpenBSD only: non-standard targets
16 # --- additions to public targets ---
18 all ascii: ascii-diff-opt
20 ascii-clean: ascii-clean-opt
22 groff: TH.out_ascii_opt Dd.out_ascii_opt
24 groff-clean: groff-clean-opt
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
33 TH.mandoc_ascii_opt: TH.in
34 @${MANDOC} -Tascii -man ${.ALLSRC} > ${.TARGET}
36 Dd.mandoc_ascii_opt: Dd.in
37 @${MANDOC} -Tascii -mdoc ${.ALLSRC} > ${.TARGET}
40 @rm -f TH.mandoc_ascii_opt Dd.mandoc_ascii_opt
42 TH.out_ascii_opt: TH.in
43 /usr/local/bin/nroff -c -man -Tascii ${.ALLSRC} > ${.TARGET}
45 Dd.out_ascii_opt: Dd.in
46 /usr/local/bin/nroff -c -mdoc -Tascii ${.ALLSRC} > ${.TARGET}
49 rm -f TH.out_ascii_opt Dd.out_ascii_opt