From 36a1abd84d1fa887050c687e6285ea0707e0a6a1 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Fri, 28 Apr 2023 16:52:00 +0200 Subject: *.mk: lint-mdoc-mandoc: Silence warnings about ISO 8601 format in the date ISO 8601 is the standard way to express a date. Don't warn about it. Signed-off-by: Alejandro Colomar --- share/mk/lint/man/mdoc.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/share/mk/lint/man/mdoc.mk b/share/mk/lint/man/mdoc.mk index fd0925ab8..56abb418f 100644 --- a/share/mk/lint/man/mdoc.mk +++ b/share/mk/lint/man/mdoc.mk @@ -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: legacy man(7) date format: Dd ' \ | $(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 ' \ -- cgit v1.2.3