blob: 0d4d203f94bbbf84cf7f32d2cb7cb7e7f879ca78 (
plain) (
tree)
|
|
# $OpenBSD: Makefile,v 1.12 2019/02/06 20:54:28 schwarze Exp $
REGRESS_TARGETS = append cond escname factorial indir infinite startde tab
REGRESS_TARGETS += TH Dd
LINT_TARGETS = escname indir infinite
# groff-1.22.4 defect:
# infinite recursion aborts output completely
SKIP_GROFF = infinite
.include <bsd.regress.mk>
# OpenBSD only: non-standard targets
# --- additions to public targets ---
all ascii: ascii-diff-opt
ascii-clean: ascii-clean-opt
groff: TH.out_ascii_opt Dd.out_ascii_opt
groff-clean: groff-clean-opt
# --- local rules ---
ascii-diff-opt: TH.mandoc_ascii_opt Dd.mandoc_ascii_opt
@${DIFF} ${.CURDIR}/TH.out_ascii_opt TH.mandoc_ascii_opt
@${DIFF} ${.CURDIR}/Dd.out_ascii_opt Dd.mandoc_ascii_opt
TH.mandoc_ascii_opt: TH.in
@${MANDOC} -Ios=OpenBSD -Tascii -man ${.ALLSRC} > ${.TARGET}
Dd.mandoc_ascii_opt: Dd.in
@${MANDOC} -Ios=OpenBSD -Tascii -mdoc ${.ALLSRC} > ${.TARGET}
ascii-clean-opt:
@rm -f TH.mandoc_ascii_opt Dd.mandoc_ascii_opt
TH.out_ascii_opt: TH.in
/usr/local/bin/nroff -c -man -Tascii ${.ALLSRC} > ${.TARGET}
Dd.out_ascii_opt: Dd.in
/usr/local/bin/nroff -c -mdoc -Tascii ${.ALLSRC} > ${.TARGET}
groff-clean-opt:
rm -f TH.out_ascii_opt Dd.out_ascii_opt
|