* top/maint.mk (sc_prohibit_hash_without_use): Re-add "@".
(sc_prohibit_hash_pjw_without_use): New rule.
2010-02-14 Jim Meyering <meyering@redhat.com>
+ 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.
_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='\<hash_pjw *\(' \
+ $(_header_without_use)
+
sc_prohibit_safe_read_without_use:
@h='"safe-read.h"' re='(\<SAFE_READ_ERROR\>|\<safe_read *\()' \
$(_header_without_use)