]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
*.mk: lint-mdoc-mandoc: Silence warnings about lowercase in Dt
authorAlejandro Colomar <alx@kernel.org>
Fri, 28 Apr 2023 14:50:01 +0000 (16:50 +0200)
committerAlejandro Colomar <alx@kernel.org>
Fri, 28 Apr 2023 14:50:01 +0000 (16:50 +0200)
See commit
4896a4f8c4b8 ("lint-man.mk: lint-man-mandoc: Silence warnings about lowercase in TH")
Cc: Ingo Schwarze <schwarze@openbsd.org>
Cc: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
share/mk/lint/man/mdoc.mk

index 50d8084410b8431eaece307f14021f941cf68174..fd0925ab80d3d4c0a1ca9c41668da4a6bbc66414 100644 (file)
@@ -25,6 +25,7 @@ lint_mdoc    := $(foreach x,$(linters_mdoc),lint-mdoc-$(x))
 $(_LINT_mdoc_mandoc): $(_MANDIR)/%.lint-mdoc.mandoc.touch: $(MANDIR)/% | $$(@D)/
        $(info LINT (mandoc)    $@)
        ! ($(MANDOC) -mdoc $(MANDOCFLAGS) $< 2>&1 \
+          | $(GREP) -v 'STYLE: lower case character in document title: Dt ' \
           | $(GREP) -v 'STYLE: operating system explicitly specified: Os ' \
           | $(GREP) -v 'WARNING: cross reference to self: Xr ' \
           ||:; \