summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-23 19:20:05 +0200
committerJim Meyering <meyering@redhat.com>2011-05-23 19:20:09 +0200
commit91d850a78b100bf78c9f77abf38c0369b877f597 (patch)
tree9b0e842553a52f02a2da9f02b0ebfde22127894c /cfg.mk
parent39213a3bbcfd86c1629c06507bfc4a761f71dbc7 (diff)
downloaddiffutils-91d850a78b100bf78c9f77abf38c0369b877f597.tar.gz
maint: update gnulib to latest with accompanying tight-scope tweaks
* cfg.mk: Include $(srcdir)/dist-check.mk using "-include", to accommodate the new sc_tight_scope rule. (_gl_TS_extern): Define, to tell gnulib's tight_scope rule that headers here mark externs with "XTERN". * gnulib: Update to latest.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 45f52e0..5f0d836 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -39,7 +39,7 @@ update-copyright-env = \
UPDATE_COPYRIGHT_USE_INTERVALS=1 \
UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
-include $(srcdir)/dist-check.mk
+-include $(srcdir)/dist-check.mk
gendocs_options_ = -s $(srcdir)/diff.texi
@@ -66,3 +66,6 @@ config-save:
cp lib/config.h config.status $(_cf_state_dir)/latest
exclude_file_name_regexp--sc_space_tab = ^gl/lib/.*\.c\.diff$$
+
+# Tell gnulib's tight_scope rule that we mark externs with XTERN
+export _gl_TS_extern = extern|XTERN