From 46f482ed7eed0b034b88c0f6b8a546f668d20321 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 15 Feb 2010 11:04:56 +0100 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ top/maint.mk | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ce8a8df775..1609f879c7 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 128de8b0f8..7d84b6c3b5 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)) -- 2.30.2