From: Alejandro Colomar Date: Wed, 20 Aug 2025 11:06:41 +0000 (+0200) Subject: share/mk/: lint-man-tbl: Show target name in diagnostics X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22e08a0266b28f810445c624a418d7c4854ab249;p=thirdparty%2Fman-pages.git share/mk/: lint-man-tbl: Show target name in diagnostics Signed-off-by: Alejandro Colomar --- diff --git a/share/mk/lint/man/tbl.mk b/share/mk/lint/man/tbl.mk index fc24223c5..e2054f5db 100644 --- a/share/mk/lint/man/tbl.mk +++ b/share/mk/lint/man/tbl.mk @@ -24,21 +24,21 @@ $(_LINT_man_tbl): %.lint-man.tbl.touch: % $(MK) | $$(@D)/ | if $(GREP) '\\" t$$' >/dev/null; then \ $(CAT) <$< \ | if ! $(GREP) '^\.TS$$' >/dev/null; then \ - >&2 $(ECHO) "$<:1: spurious '\\\" t' comment:"; \ + >&2 $(ECHO) "lint-man-tbl: $<:1: spurious '\\\" t' comment:"; \ >&2 $(HEAD) -n1 <$<; \ exit 1; \ fi; \ else \ $(CAT) <$< \ | if $(GREP) '^\.TS$$' >/dev/null; then \ - >&2 $(ECHO) "$<:1: missing '\\\" t' comment:"; \ + >&2 $(ECHO) "lint-man-tbl: $<:1: missing '\\\" t' comment:"; \ >&2 $(HEAD) -n1 <$<; \ exit 1; \ fi; \ fi $(TAIL) -n+2 <$< \ | if $(GREP) '\\" t$$' >/dev/null; then \ - >&2 $(ECHO) "$<: spurious '\\\" t' not in first line:"; \ + >&2 $(ECHO) "lint-man-tbl: $<: spurious '\\\" t' not in first line:"; \ >&2 $(GREP) -n '\\" t$$' $< /dev/null; \ exit 1; \ fi