From: Jim Meyering Date: Mon, 15 Feb 2010 10:04:56 +0000 (+0100) Subject: maint.mk: mark syntax-check sc_*.m rules as .PHONY X-Git-Tag: v0.1~4621 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=46f482ed7eed0b034b88c0f6b8a546f668d20321;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index ce8a8df77..1609f879c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-02-15 Jim Meyering + + 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. + 2010-02-14 Jim Meyering maint.mk: prohibit inclusion of "hash-pjw.h" without_use diff --git a/top/maint.mk b/top/maint.mk index 128de8b0f..7d84b6c3b 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -125,7 +125,9 @@ 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)): +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))