]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix a syntax-check rule to pass in non-srcdir build
authorJim Meyering <meyering@redhat.com>
Sun, 24 Jan 2010 13:46:58 +0000 (14:46 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 24 Jan 2010 13:51:31 +0000 (14:51 +0100)
* cfg.mk (sc_x_sc_dist_check): This coreutils-specific syntax-check
rule would fail in a non-srcdir build, since in that case, each name
from $(VC_LIST) starts with "$(srcdir)/".  Fix that.
* gnulib: Update to latest, to pull in a required maint.mk change.

cfg.mk
gnulib

diff --git a/cfg.mk b/cfg.mk
index b669961402f0fb872fbe28ea74fc422c5bec4656..b5a21c3fcba0e585fde8df3fa4b48f40ce285ce7 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -93,7 +93,8 @@ sc_root_tests:
 # stays in sync with corresponding files in the repository.
 sce = syntax_check_exceptions
 sc_x_sc_dist_check:
-       @test "$$( ($(VC_LIST) | sed -n '/^.x-sc_/p';                   \
+       @test "$$( ($(VC_LIST) | sed -n '/\.x-sc_/p'                    \
+                    | sed 's|^$(_dot_escaped_srcdir)/||';              \
                   sed -n '/^$(sce) =[   ]*\\$$/,/[^\]$$/p'             \
                     $(srcdir)/Makefile.am                              \
                       | sed 's/^  *//;/^$(sce) =/d'                    \
diff --git a/gnulib b/gnulib
index 7521ea075f22293b395517a5d2f4ea213b63d4a9..8fc05d032b3f9a9d068613ab5ee297b4e7d5a08a 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 7521ea075f22293b395517a5d2f4ea213b63d4a9
+Subproject commit 8fc05d032b3f9a9d068613ab5ee297b4e7d5a08a