summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-03 07:57:46 +0000
committerJim Meyering <jim@meyering.net>2000-08-03 07:57:46 +0000
commitf3e288c47097848f188fdd3e7e5bb04f2b4b75aa (patch)
tree06cfa3f229003c7765c43992a5d13a12d3fc3a71 /tests
parentac4300150a345d10c126fce3f44be65f0aee61bf (diff)
downloadcoreutils-f3e288c47097848f188fdd3e7e5bb04f2b4b75aa.tar.xz
($(srcdir)/$x-tests): Use -I$(srcdir), not `-I.'.
(Makefile.am): Likewise. Reported by Greg McGary.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.am.in b/tests/Makefile.am.in
index 1a415e6d3..14ad85ad7 100644
--- a/tests/Makefile.am.in
+++ b/tests/Makefile.am.in
@@ -13,7 +13,7 @@ TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -27,6 +27,6 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
- $(PERL) -I. -w -- $(mk_script) --list >> $@t
+ $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@