summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-09-18 16:29:49 +0200
committerJim Meyering <meyering@redhat.com>2012-09-18 17:14:05 +0200
commit9228b861cc230667e069f3c573150a014c6512ad (patch)
tree72b1f1f5b4266c43721567ced9e97a7ffde0928c /cfg.mk
parent627412847ef8972e84d4ed957fe1bed4f018bd2c (diff)
downloadcoreutils-9228b861cc230667e069f3c573150a014c6512ad.tar.xz
maint: make the tight-scope syntax-check rule work again
* cfg.mk: Configure a few variable to make the tight-scope rule work. * gnulib: Update submodule to latest.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index 37fa22e4f..d3a761e44 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -566,3 +566,10 @@ AM_CFLAGS += $($(@D)_CFLAGS)
src_CFLAGS = $(WARN_CFLAGS)
lib_CFLAGS = $(GNULIB_WARN_CFLAGS)
gnulib-tests_CFLAGS = $(GNULIB_TEST_WARN_CFLAGS)
+
+# Configuration to make the tight-scope syntax-check rule work with
+# recursive make.
+export _gl_TS_headers = $(srcdir)/cfg.mk
+_gl_TS_dir = .
+_gl_TS_obj_files = src/*.$(OBJEXT)
+_gl_TS_other_headers = src/*.h