Mercurial > hg > octave-lojdl > gnulib-hg
changeset 15660:d12c46223fa1
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.
author | Martin von Gagern <Martin.vGagern@gmx.net> |
---|---|
date | Wed, 14 Sep 2011 15:33:16 +0200 |
parents | bdf397bc4086 |
children | 0aac3aa8d8fd |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-14 Martin von Gagern <Martin.vGagern@gmx.net> + + 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 <eggert@cs.ucla.edu> stat: use pathmax.h only if needed
--- 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/$$/\\>/'