X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=top%2Fmaint.mk;h=7d84b6c3b58a1410810a505e387b7dedfb12d806;hb=b187ff0528e2a081392a834e684d1d0c161708a7;hp=a623d026e52e9905d3a5e69fc194161c0cc0e153;hpb=e1b83155bc5e95f4165b806850e4117426479a68;p=gnulib.git diff --git a/top/maint.mk b/top/maint.mk index a623d026e..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)) @@ -374,10 +376,15 @@ clear|delete|free|get_(first|next)|insert|lookup|print_statistics|reset_tuning _hash_fn = \<($(_hash_re)) *\( _hash_struct = (struct )?\<[Hh]ash_(table|tuning)\> sc_prohibit_hash_without_use: - h='"hash.h"' \ + @h='"hash.h"' \ re='$(_hash_fn)|$(_hash_struct)'\ $(_header_without_use) +sc_prohibit_hash_pjw_without_use: + @h='"hash-pjw.h"' \ + re='\