summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Sh/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-04-28 16:25:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-04-28 16:25:11 +0000
commit68e287f8a84e78c626e8440ced37035bd5359eff (patch)
treedeea97dcb6e08470e5fdff2808a934f6294a3bcf /regress/mdoc/Sh/Makefile
parent2d0ffb12fd226a8ad45b9f65ec2aab74fa62ec82 (diff)
downloadmandoc-68e287f8a84e78c626e8440ced37035bd5359eff.tar.gz
Delete .Pp right before the first .Sh and right before any .Ss,
and warn about it; mdoclint(1) does so, and it makes sense.
Diffstat (limited to 'regress/mdoc/Sh/Makefile')
-rw-r--r--regress/mdoc/Sh/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/regress/mdoc/Sh/Makefile b/regress/mdoc/Sh/Makefile
index a1db1161..9610ec4c 100644
--- a/regress/mdoc/Sh/Makefile
+++ b/regress/mdoc/Sh/Makefile
@@ -1,11 +1,16 @@
# $OpenBSD: Makefile,v 1.7 2017/01/08 00:10:22 schwarze Exp $
REGRESS_TARGETS = badNAME before empty emptyNAME first nohead order
-REGRESS_TARGETS += orderNAME punctNAME subbefore
+REGRESS_TARGETS += orderNAME parbefore parborder punctNAME subbefore
LINT_TARGETS = badNAME before empty emptyNAME first nohead order
-LINT_TARGETS += orderNAME punctNAME subbefore
+LINT_TARGETS += orderNAME parbefore parborder punctNAME subbefore
-SKIP_GROFF = subbefore first empty
-SKIP_ASCII = first
+# groff-1.22.3 defects:
+# - .Pp before .Sh NAME causes a blank line before the header line
+# - .Ss before .Sh NAME puts the subsection header before the header line
+# - missing .Sh NAME causes loss of the header and footer lines
+# - .Sh DESCRIPTION Xo aborts the parser
+
+SKIP_GROFF = parbefore subbefore first empty
.include <bsd.regress.mk>