# HG changeset patch # User Martin von Gagern # Date 1316007196 -7200 # Node ID d12c46223fa1172d4fa6db23c553000feaadef16 # Parent bdf397bc4086e6fb6e6ebb0a756639ff367808ce maint.mk: avoid warnings from perl about missing files * top/maint.mk (def_sym_regex): Ignore files listed in $(gl_other_headers_) that do not exist, say because a project does not use a corresponding module. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-14 Martin von Gagern + + maint.mk: avoid warnings from perl about missing files + * top/maint.mk (def_sym_regex): Ignore files listed in + $(gl_other_headers_) that do not exist, say because a project + does not use a corresponding module. + 2011-09-18 Paul Eggert stat: use pathmax.h only if needed diff --git a/top/maint.mk b/top/maint.mk --- a/top/maint.mk +++ b/top/maint.mk @@ -762,7 +762,8 @@ gen_h=$(gl_generated_headers_); \ (cd $(gnulib_dir)/lib; \ for f in *.in.h $(gl_other_headers_); do \ - perl -lne '$(gl_extract_significant_defines_)' $$f; \ + test -f $$f \ + && perl -lne '$(gl_extract_significant_defines_)' $$f; \ done; \ ) | sort -u \ | sed 's/^/^ *# *(define|undef) */;s/$$/\\>/'