From: Jim Meyering Date: Thu, 29 Jan 2009 09:46:39 +0000 (+0100) Subject: maint: teach "make syntax-check" to print each check name as it's run X-Git-Tag: v7.1~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44421c22a3c9aca7b7899b9fa8037d89dddaff20;p=thirdparty%2Fcoreutils.git maint: teach "make syntax-check" to print each check name as it's run * maint.mk (%.m): New rules to print each syntax-checking rule name, just before running its commands. ($(syntax-check-rules)): Depend on it. --- diff --git a/maint.mk b/maint.mk index 38724c24d0..65cdf5bbc9 100644 --- a/maint.mk +++ b/maint.mk @@ -76,6 +76,11 @@ local-checks-available = \ makefile-check check-AUTHORS .PHONY: $(local-checks-available) +# Arrange to print the name of each syntax-checking rule just before running it. +$(syntax-check-rules): %: %.m +$(patsubst %, %.m, $(syntax-check-rules)): + @echo $(patsubst sc_%.m, %, $@) + local-check := $(filter-out $(local-checks-to-skip), $(local-checks-available)) syntax-check: $(local-check)