]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/de/Makefile
Finally port the OpenBSD regression suite.
[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 startde TH Dd
4 LINT_TARGETS = escname indir
5
6 .include <bsd.regress.mk>
7
8
9 # OpenBSD only: non-standard targets
10
11 # --- additions to public targets ---
12
13 all ascii: ascii-diff-opt
14
15 ascii-clean: ascii-clean-opt
16
17 groff: TH.out_ascii_opt Dd.out_ascii_opt
18
19 groff-clean: groff-clean-opt
20
21
22 # --- local rules ---
23
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
27
28 TH.mandoc_ascii_opt: TH.in
29 @${MANDOC} -Tascii -man ${.ALLSRC} > ${.TARGET}
30
31 Dd.mandoc_ascii_opt: Dd.in
32 @${MANDOC} -Tascii -mdoc ${.ALLSRC} > ${.TARGET}
33
34 ascii-clean-opt:
35 @rm -f TH.mandoc_ascii_opt Dd.mandoc_ascii_opt
36
37 TH.out_ascii_opt: TH.in
38 /usr/local/bin/nroff -c -man -Tascii ${.ALLSRC} > ${.TARGET}
39
40 Dd.out_ascii_opt: Dd.in
41 /usr/local/bin/nroff -c -mdoc -Tascii ${.ALLSRC} > ${.TARGET}
42
43 groff-clean-opt:
44 rm -f TH.out_ascii_opt Dd.out_ascii_opt