blob: d7937db51461b7311c921bef998ad6b5e4c05e1c (
plain) (
tree)
|
|
# $OpenBSD: Makefile.inc,v 1.2 2015/02/03 19:37:25 schwarze Exp $
EQN = /usr/local/bin/eqn
SKIP_GROFF ?= ${REGRESS_TARGETS}
SKIP_TMAN ?= ALL
# OpenBSD only: maintainer targets and custom extraction
_FULLHTMLFILES = ${HTML_TARGETS:S/$/.html/}
html-clean:
.if !empty(_FULLHTMLFILES)
@rm -f ${_HTMLFILES} ${_FULLHTMLFILES}
.endif
.for t in ${HTML_TARGETS}
${t}.out_html: ${t}.in
${MANDOC} ${MOPTS} -Thtml ${.ALLSRC} | \
${.CURDIR}/../extract.pl > ${.TARGET}
.endfor
.include "../Makefile.inc"
.in.mandoc_html:
@${MANDOC} ${MOPTS} -Thtml ${.IMPSRC} > ${.TARGET:S/mandoc_html$/html/}
@${.CURDIR}/../extract.pl < ${.TARGET:S/mandoc_html$/html/} > ${.TARGET}
|