diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | d9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch) | |
tree | c07efd74ac58650949dc67576001a720e688319f /regress/eqn/Makefile.inc | |
parent | cdbb1fca07752eb230e5219c22e9e65075c85b82 (diff) | |
download | mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/eqn/Makefile.inc')
-rw-r--r-- | regress/eqn/Makefile.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/regress/eqn/Makefile.inc b/regress/eqn/Makefile.inc new file mode 100644 index 00000000..d7937db5 --- /dev/null +++ b/regress/eqn/Makefile.inc @@ -0,0 +1,28 @@ +# $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} |