summaryrefslogtreecommitdiff
path: root/tests/Makefile.am.in
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-05-03 21:41:51 +0000
committerJim Meyering <jim@meyering.net>1998-05-03 21:41:51 +0000
commit3e7e7d07927f43eff27dfc3b22e1f6164413a5bb (patch)
treeb2a9f591a063577fff9d229717be84c01d5480a8 /tests/Makefile.am.in
parenta5b0ca6f245227dac3cdc1599f4e754272eed9d9 (diff)
downloadcoreutils-3e7e7d07927f43eff27dfc3b22e1f6164413a5bb.tar.xz
Use `-I.' with each invocation of $(PERL).
perl-5.004_xx comes with a Test.pm module that'd be used otherwise.
Diffstat (limited to 'tests/Makefile.am.in')
-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 92572dfe9..2c8e4780e 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) -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -25,6 +25,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) -w -- $(mk_script) --list >> $@t
+ $(PERL) -I. -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@