]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: make the tight-scope syntax-check rule work again
authorJim Meyering <meyering@redhat.com>
Tue, 18 Sep 2012 14:29:49 +0000 (16:29 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Sep 2012 15:14:05 +0000 (17:14 +0200)
* cfg.mk: Configure a few variable to make the tight-scope rule work.
* gnulib: Update submodule to latest.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 37fa22e4f9a2aac81cb0d6e0f54840b14b690d9d..d3a761e44e3a8b721e5b69c523ec810b443a8fa1 100644 (file)
--- 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