1 # $OpenBSD: Makefile.inc,v 1.2 2015/02/03 19:37:25 schwarze Exp $
3 EQN = /usr/local/bin/eqn
5 SKIP_GROFF ?= ${REGRESS_TARGETS}
10 # OpenBSD only: maintainer targets and custom extraction
12 _FULLHTMLFILES = ${HTML_TARGETS:S/$/.html/}
15 .if !empty(_FULLHTMLFILES)
16 @rm -f ${_HTMLFILES} ${_FULLHTMLFILES}
19 .for t in ${HTML_TARGETS}
20 ${t}.out_html: ${t}.in
21 ${MANDOC} ${MOPTS} -Thtml ${.ALLSRC} | \
22 ${.CURDIR}/../extract.pl > ${.TARGET}
25 .include "../Makefile.inc"
28 @${MANDOC} ${MOPTS} -Thtml ${.IMPSRC} > ${.TARGET:S/mandoc_html$/html/}
29 @${.CURDIR}/../extract.pl < ${.TARGET:S/mandoc_html$/html/} > ${.TARGET}