summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-01-24 14:46:58 +0100
committerJim Meyering <meyering@redhat.com>2010-01-24 14:51:31 +0100
commit0caead1ea0b2ef63173cde6b583249bea3194817 (patch)
treefab6e286fd3865d22e6707f6d9e0663cc53598a3
parent9c566ad04a3b6b7672ab10cacea23d9f6a599c0e (diff)
downloadcoreutils-0caead1ea0b2ef63173cde6b583249bea3194817.tar.xz
tests: fix a syntax-check rule to pass in non-srcdir build
* 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.
-rw-r--r--cfg.mk3
m---------gnulib0
2 files changed, 2 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index b66996140..b5a21c3fc 100644
--- 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
-Subproject 7521ea075f22293b395517a5d2f4ea213b63d4a
+Subproject 8fc05d032b3f9a9d068613ab5ee297b4e7d5a08