* tests/check.mk (vc_exe_in_TESTS): Adapt to new constraint
that vc-list-files be run only from $(top_srcdir).
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.
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; \