From 9228b861cc230667e069f3c573150a014c6512ad Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 18 Sep 2012 16:29:49 +0200 Subject: [PATCH] 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. --- cfg.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cfg.mk b/cfg.mk index 37fa22e4f9..d3a761e44e 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 -- 2.47.2