From 44421c22a3c9aca7b7899b9fa8037d89dddaff20 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 29 Jan 2009 10:46:39 +0100 Subject: 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. --- maint.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maint.mk b/maint.mk index 38724c24d..65cdf5bbc 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) -- cgit v1.2.3-70-g09d2