blob: 346400994a31ff8973abe229cf9b14dca1297734 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $OpenBSD: Makefile.inc,v 1.3 2017/03/08 22:53:35 schwarze Exp $
EQN = /usr/local/bin/eqn
SKIP_GROFF ?= ${REGRESS_TARGETS}
SKIP_TMAN ?= ALL
SKIP_MARKDOWN ?= ALL
_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}
|