diff options
author | Jim Meyering <meyering@redhat.com> | 2008-01-31 13:25:13 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-01-31 13:26:28 +0100 |
commit | ffd3ba280554960db57bd8f949c72463536eab2a (patch) | |
tree | cb1f4503f99e2a3442c9e0c0a58e72fa83b14ede | |
parent | 9a0b4599c7cbc15151e591402033953b63ebd2c2 (diff) | |
download | coreutils-ffd3ba280554960db57bd8f949c72463536eab2a.tar.xz |
Adapt to new version of vc-list-files.
* tests/check.mk (vc_exe_in_TESTS): Adapt to new constraint
that vc-list-files be run only from $(top_srcdir).
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | tests/check.mk | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2008-01-31 Jim Meyering <meyering@redhat.com> + Adapt to new version of vc-list-files. + * tests/check.mk (vc_exe_in_TESTS): Adapt to new constraint + that vc-list-files be run only from $(top_srcdir). + Pull vc-list-files from gnulib. * bootstrap.conf (gnulib_modules): Add vc-list-files. * build-aux/vc-list-files: Remove file. diff --git a/tests/check.mk b/tests/check.mk index 03e3f7042..48cffa40a 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -24,7 +24,8 @@ vc_exe_in_TESTS: Makefile sed -n '/^$(_v) = \\$$/,/[^\]$$/p' $(srcdir)/Makefile.am \ | sed 's/^ *//;/^\$$.*/d;/^$(_v) =/d' \ | tr -s '\012\\' ' ' | fmt -1 | sort -u > t1 && \ - for f in `$(top_srcdir)/build-aux/vc-list-files .`; do \ + for f in `cd $(top_srcdir) && build-aux/vc-list-files $(subdir)`; do \ + f=`echo $$f|sed 's!^$(subdir)/!!'`; \ test -f "$$f" && test -x "$$f" && echo "$$f"; \ done | sort -u > t2 && \ diff -u t1 t2 || exit 1; \ |