# HG changeset patch # User Jim Meyering # Date 1266172119 -3600 # Node ID 19a1135538665477c58663108cc76f79803e8c16 # Parent 9ab78f8f03689f594cdb3629aec3554d1f956644 maint.mk: prohibit inclusion of "hash-pjw.h" without_use * top/maint.mk (sc_prohibit_hash_without_use): Re-add "@". (sc_prohibit_hash_pjw_without_use): New rule. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-02-14 Jim Meyering + maint.mk: prohibit inclusion of "hash-pjw.h" without_use + * top/maint.mk (sc_prohibit_hash_without_use): Re-add "@". + (sc_prohibit_hash_pjw_without_use): New rule. + maint.mk: allow the default upload destination dir to be overridden * top/maint.mk (upload_dest_dir_): Define with a default that preserves the status quo. diff --git a/top/maint.mk b/top/maint.mk --- a/top/maint.mk +++ b/top/maint.mk @@ -374,10 +374,15 @@ _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='\