diff options
author | Jim Meyering <meyering@redhat.com> | 2009-01-29 10:46:39 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-01-29 13:31:28 +0100 |
commit | 44421c22a3c9aca7b7899b9fa8037d89dddaff20 (patch) | |
tree | 3aefb73d61ec3989adfdcdaedc978ca199063b78 | |
parent | 61a42e37431928b861e69b236b9d6ad04fafbdc3 (diff) | |
download | coreutils-44421c22a3c9aca7b7899b9fa8037d89dddaff20.tar.xz |
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.
-rw-r--r-- | maint.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |