1 # $OpenBSD: Makefile.inc,v 1.5 2020/07/30 21:32:19 schwarze Exp $
3 SKIP_GROFF ?= ${REGRESS_TARGETS}
8 # OpenBSD only: maintainer targets and custom extraction
10 _FULLHTMLFILES = ${HTML_TARGETS:S/$/.html/}
13 .if !empty(_FULLHTMLFILES)
14 rm -f ${_HTMLFILES} ${_FULLHTMLFILES}
17 .for t in ${HTML_TARGETS}
18 ${t}.out_html: ${t}.in
19 ${MANDOC} ${MOPTS} -Thtml ${.ALLSRC} | \
20 ${.CURDIR}/../extract.pl > ${.TARGET}
23 .include "../Makefile.inc"
26 ${MANDOC} ${MOPTS} -Thtml ${.IMPSRC} > ${.TARGET:S/mandoc_html$/html/}
27 ${.CURDIR}/../extract.pl < ${.TARGET:S/mandoc_html$/html/} > ${.TARGET}