1 # $OpenBSD: Makefile,v 1.9 2015/02/03 19:37:25 schwarze Exp $
3 REGRESS_TARGETS = append cond escname factorial indir startde TH Dd
4 LINT_TARGETS = escname indir
6 .include <bsd.regress.mk>
9 # OpenBSD only: non-standard targets
11 # --- additions to public targets ---
13 all ascii: ascii-diff-opt
15 ascii-clean: ascii-clean-opt
17 groff: TH.out_ascii_opt Dd.out_ascii_opt
19 groff-clean: groff-clean-opt
24 ascii-diff-opt: TH.mandoc_ascii_opt Dd.mandoc_ascii_opt
25 @${DIFF} ${.CURDIR}/TH.out_ascii_opt TH.mandoc_ascii_opt
26 @${DIFF} ${.CURDIR}/Dd.out_ascii_opt Dd.mandoc_ascii_opt
28 TH.mandoc_ascii_opt: TH.in
29 @${MANDOC} -Tascii -man ${.ALLSRC} > ${.TARGET}
31 Dd.mandoc_ascii_opt: Dd.in
32 @${MANDOC} -Tascii -mdoc ${.ALLSRC} > ${.TARGET}
35 @rm -f TH.mandoc_ascii_opt Dd.mandoc_ascii_opt
37 TH.out_ascii_opt: TH.in
38 /usr/local/bin/nroff -c -man -Tascii ${.ALLSRC} > ${.TARGET}
40 Dd.out_ascii_opt: Dd.in
41 /usr/local/bin/nroff -c -mdoc -Tascii ${.ALLSRC} > ${.TARGET}
44 rm -f TH.out_ascii_opt Dd.out_ascii_opt