summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-09-21 15:49:06 +0200
committerSimon Josefsson <simon@josefsson.org>2011-09-21 15:49:06 +0200
commit5fdaefe2cfd2e38a83fee58c6a2b852d5e124d69 (patch)
treeaba3494f385bea407fd4b4f840b8b9cdfef711c2 /maint.mk
parent0f206a54a53abe0ca38216081d587cf98096fb26 (diff)
downloadgnutls-5fdaefe2cfd2e38a83fee58c6a2b852d5e124d69.tar.gz
Update gnulib files.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/maint.mk b/maint.mk
index c9ffb95a5b..0137df10fa 100644
--- a/maint.mk
+++ b/maint.mk
@@ -762,7 +762,8 @@ define def_sym_regex
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/$$/\\>/'
@@ -1398,7 +1399,8 @@ _gl_TS_dir ?= src
ALL_RECURSIVE_TARGETS += sc_tight_scope
sc_tight_scope: tight-scope.mk
- @if ! grep '^ *export _gl_TS_headers *=' $(srcdir)/cfg.mk \
+ @fail=0; \
+ if ! grep '^ *export _gl_TS_headers *=' $(srcdir)/cfg.mk \
> /dev/null \
&& ! grep -w noinst_HEADERS $(srcdir)/$(_gl_TS_dir)/Makefile.am \
> /dev/null 2>&1; then \
@@ -1410,8 +1412,9 @@ sc_tight_scope: tight-scope.mk
-f $(abs_top_builddir)/$< \
_gl_tight_scope \
|| fail=1; \
- fi
- @rm -f $<
+ fi; \
+ rm -f $<; \
+ exit $$fail
tight-scope.mk: $(ME)
@rm -f $@ $@-t