diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-04-28 16:25:11 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-04-28 16:25:11 +0000 |
commit | 882c99984a5b562bef7d6cb4685a04fba62a7852 (patch) | |
tree | 806d72afda8a901a2508650bc8709273fc406040 /regress/mdoc/Sh/Makefile | |
parent | d51f0eb00a1f1de1dcc22dfa0a16ffbd2d0a623a (diff) | |
download | mandoc-882c99984a5b562bef7d6cb4685a04fba62a7852.tar.gz mandoc-882c99984a5b562bef7d6cb4685a04fba62a7852.tar.zst mandoc-882c99984a5b562bef7d6cb4685a04fba62a7852.zip |
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/Makefile | 13 |
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> |