1# $OpenBSD: Makefile,v 1.5 2014/07/07 11:34:41 schwarze Exp $ 2 3REGRESS_TARGETS = append escname indir TH Dd 4LINT_TARGETS = escname indir 5 6.include <bsd.regress.mk> 7 8 9# --- additions to public targets --- 10 11all ascii: ascii-diff-opt 12 13ascii-clean: ascii-clean-opt 14 15groff: TH.out_ascii_opt Dd.out_ascii_opt 16 17groff-clean: groff-clean-opt 18 19 20# --- local rules --- 21 22ascii-diff-opt: TH.mandoc_ascii_opt Dd.mandoc_ascii_opt 23 ${DIFF} ${.CURDIR}/TH.out_ascii_opt TH.mandoc_ascii_opt 24 ${DIFF} ${.CURDIR}/Dd.out_ascii_opt Dd.mandoc_ascii_opt 25 26TH.mandoc_ascii_opt: TH.in 27 ${MANDOC} -Tascii -man ${.ALLSRC} > ${.TARGET} 28 29Dd.mandoc_ascii_opt: Dd.in 30 ${MANDOC} -Tascii -mdoc ${.ALLSRC} > ${.TARGET} 31 32ascii-clean-opt: 33 rm -f TH.mandoc_ascii_opt Dd.mandoc_ascii_opt 34 35TH.out_ascii_opt: TH.in 36 /usr/local/bin/nroff -c -man -Tascii ${.ALLSRC} > ${.TARGET} 37 38Dd.out_ascii_opt: Dd.in 39 /usr/local/bin/nroff -c -mdoc -Tascii ${.ALLSRC} > ${.TARGET} 40 41groff-clean-opt: 42 rm -f TH.out_ascii_opt Dd.out_ascii_opt 43