Yes, mandoc(1), I know the date is not a date, it's a placeholder to be
filled at 'make dist' time. Let's be friends :)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
$(_LINT_man_mandoc): $(_LINTDIR)/%.lint-man.mandoc.touch: $(MANDIR)/% | $$(@D)/.
$(info LINT (mandoc) $@)
- $(MANDOC) $(MANDOCFLAGS) $<
+ ! ($(MANDOC) $(MANDOCFLAGS) $< 2>&1 \
+ | $(GREP) -v 'WARNING: cannot parse date, using it verbatim: TH (date)' \
+ ||:; \
+ ) \
+ | $(GREP) '.' >&2
touch $@