Mercurial > hg > octave-nkf > gnulib-hg
changeset 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 | d618df5cca15 |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-02-15 Jim Meyering <meyering@redhat.com> + + 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 <meyering@redhat.com> maint.mk: prohibit inclusion of "hash-pjw.h" without_use
--- a/top/maint.mk +++ b/top/maint.mk @@ -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))