Mercurial > hg > octave-nkf > gnulib-hg
changeset 12865:19a113553866
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sun, 14 Feb 2010 19:28:39 +0100 |
parents | 9ab78f8f0368 |
children | bedb32c7fa1b |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 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.
--- 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='\<hash_pjw *\(' \ + $(_header_without_use) + sc_prohibit_safe_read_without_use: @h='"safe-read.h"' re='(\<SAFE_READ_ERROR\>|\<safe_read *\()' \ $(_header_without_use)