summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/Makefile.inc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-04 14:53:28 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-04 14:53:28 +0000
commitde24efe18a9c85932a78b188e35a5039c413d43c (patch)
treeb0f920b3e0be4953dba7ca940b24b16b045b59ff /regress/usr.bin/mandoc/Makefile.inc
parenta9b1751368b8c68b9ffecaf639e1ea0b620025b4 (diff)
Messages of the -Wbase level now print STYLE:. Since this
causes horrible churn anyway, profit of the opportunity to stop excessive testing, such that this is hopefully the last instance of such churn. Consistently use OpenBSD RCS tags, blank .Os, blank fourth .TH argument, and Mdocdate like everywhere else. Use -Ios=OpenBSD for platform-independent predictable output.
Diffstat (limited to 'regress/usr.bin/mandoc/Makefile.inc')
-rw-r--r--regress/usr.bin/mandoc/Makefile.inc17
1 files changed, 9 insertions, 8 deletions
diff --git a/regress/usr.bin/mandoc/Makefile.inc b/regress/usr.bin/mandoc/Makefile.inc
index 1f7a138cb62..590421caf1d 100644
--- a/regress/usr.bin/mandoc/Makefile.inc
+++ b/regress/usr.bin/mandoc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.23 2017/05/30 19:29:31 schwarze Exp $
+# $OpenBSD: Makefile.inc,v 1.24 2017/07/04 14:53:23 schwarze Exp $
.include "Makefile.sub"
@@ -76,13 +76,13 @@ htmlval: ${_HTMLVALS}
.out_ascii .out_lint .out_utf8
.in.mandoc_ascii:
- @${MANDOC} ${MOPTS} -Tascii ${.IMPSRC} > ${.TARGET}
+ @${MANDOC} ${MOPTS} -Ios=OpenBSD -Tascii ${.IMPSRC} > ${.TARGET}
.mandoc_ascii.diff_ascii:
@${DIFF} ${.CURDIR}/${.IMPSRC:S/mandoc_ascii$/out_ascii/} ${.IMPSRC}
.in.mandoc_utf8:
- @${MANDOC} ${MOPTS} -Tutf8 ${.IMPSRC} > ${.TARGET}
+ @${MANDOC} ${MOPTS} -Ios=OpenBSD -Tutf8 ${.IMPSRC} > ${.TARGET}
.mandoc_utf8.diff_utf8:
@${DIFF} ${.CURDIR}/${.IMPSRC:S/mandoc_utf8$/out_utf8/} ${.IMPSRC}
@@ -95,20 +95,20 @@ htmlval: ${_HTMLVALS}
@${DIFF} ${.CURDIR}/${.IMPSRC:S/mandoc_html$/out_html/} ${.IMPSRC}
.in.mandoc_markdown:
- @${MANDOC} ${MOPTS} -Tmarkdown ${.IMPSRC} > ${.TARGET}
+ @${MANDOC} ${MOPTS} -Ios=OpenBSD -Tmarkdown ${.IMPSRC} > ${.TARGET}
.mandoc_markdown.diff_markdown:
@${DIFF} ${.CURDIR}/${.IMPSRC:S/mandoc_markdown$/out_markdown/} \
${.IMPSRC}
.in.in_man:
- @${MANDOC} ${MOPTS} -Tman ${.IMPSRC} > ${.TARGET}
+ @${MANDOC} ${MOPTS} -Ios=OpenBSD -Tman ${.IMPSRC} > ${.TARGET}
.in_man.mandoc_man:
@${MANDOC} -man -Tascii -Omdoc ${.IMPSRC} > ${.TARGET}
.in.mandoc_lint:
- @-${MANDOC} ${MOPTS} -Tlint -Wall ${.IMPSRC} 2>&1 | \
+ @-${MANDOC} ${MOPTS} -Ios=OpenBSD -Tlint -Wall ${.IMPSRC} 2>&1 | \
sed -E 's/^mandoc: \/[^:]+\//mandoc: /' > ${.TARGET}
.mandoc_lint.diff_lint:
@@ -283,13 +283,14 @@ ${t}.out_html: ${t}.in
.for t in ${REGRESS_TARGETS}
. if empty(SKIP_MARKDOWN:MALL) && empty(SKIP_MARKDOWN:M${t})
${t}.out_markdown: ${t}.in
- ${MANDOC} ${MOPTS} -Tmarkdown ${.ALLSRC} > ${.TARGET}
+ ${MANDOC} ${MOPTS} -Ios=OpenBSD -Tmarkdown ${.ALLSRC} > ${.TARGET}
. endif
.endfor
.for t in ${LINT_TARGETS}
${t}.out_lint: ${t}.in
- -${MANDOC} ${MOPTS} -Tlint -Wall ${.ALLSRC} > ${.TARGET} 2>&1
+ -${MANDOC} ${MOPTS} -Ios=OpenBSD -Tlint -Wall ${.ALLSRC} \
+ > ${.TARGET} 2>&1
.endfor
# --- phony targets ---