Mercurial > gnulib
diff top/maint.mk @ 12866:bedb32c7fa1b
maint.mk: mark syntax-check sc_*.m rules as .PHONY
* top/maint.mk ($(syntax-check-rules)): Add .PHONY, so that
"make -t syntax-check" doesn't create a ton of sc_*.m files.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Mon, 15 Feb 2010 11:04:56 +0100 |
parents | 19a113553866 |
children | 44ae789f77b0 |
line wrap: on
line diff
--- a/top/maint.mk Sun Feb 14 19:28:39 2010 +0100 +++ b/top/maint.mk Mon Feb 15 11:04:56 2010 +0100 @@ -125,7 +125,9 @@ # Arrange to print the name of each syntax-checking rule just before running it. $(syntax-check-rules): %: %.m -$(patsubst %, %.m, $(syntax-check-rules)): +sc_m_rules_ = $(patsubst %, %.m, $(syntax-check-rules)) +.PHONY: $(sc_m_rules_) +$(sc_m_rules_): @echo $(patsubst sc_%.m, %, $@) local-check := $(filter-out $(local-checks-to-skip), $(local-checks-available))