summaryrefslogblamecommitdiffstats
path: root/regress/eqn/Makefile.inc
blob: 2e98fb34622104a51f541efe8d5cf5f751a5f6f8 (plain) (tree)
1
2
3
4
5
                                                                 


                                
                    





















                                                                                
# $OpenBSD: Makefile.inc,v 1.4 2020/01/08 10:17:15 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}