]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
lint-man.mk: lint-man-mandoc: Silence warnings about missing date
authorAlejandro Colomar <alx@kernel.org>
Thu, 9 Mar 2023 15:59:50 +0000 (16:59 +0100)
committerAlejandro Colomar <alx@kernel.org>
Thu, 9 Mar 2023 15:59:50 +0000 (16:59 +0100)
tzdb pages have no date it them.  Don't warn about that.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/lint-man.mk

index 8e66291cc277dc2f5297d6ef58170f0170880933..6a0cd4184ebcbf1a352ac7b7e8092a8baac9b70a 100644 (file)
@@ -90,6 +90,7 @@ $(_LINT_man_mandoc): $(_LINTDIR)/%.lint-man.mandoc.touch: $(MANDIR)/% | $$(@D)/.
           | $(GREP) -v 'UNSUPP: ignoring macro in table:' \
           | $(GREP) -v 'WARNING: cannot parse date, using it verbatim: TH (date)' \
           | $(GREP) -v 'WARNING: empty block: UR' \
+          | $(GREP) -v 'WARNING: missing date, using "": TH' \
           ||:; \
        ) \
        | $(GREP) '.' >&2