[BACK]Return to Makefile.inc CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / eqn

File: [cvsweb.bsd.lv] / mandoc / regress / eqn / Makefile.inc (download)

Revision 1.4, Thu Jul 30 21:42:27 2020 UTC (3 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, HEAD
Changes since 1.3: +4 -4 lines

trivial sync with OpenBSD
in parts of these files that are not used by -portable;
consequently, no functional change

# $OpenBSD: Makefile.inc,v 1.5 2020/07/30 21:32:19 schwarze Exp $

SKIP_GROFF ?= ${REGRESS_TARGETS}
SKIP_TMAN ?= ALL
SKIP_MARKDOWN ?= 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}