From 3e7e7d07927f43eff27dfc3b22e1f6164413a5bb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 3 May 1998 21:41:51 +0000 Subject: Use `-I.' with each invocation of $(PERL). perl-5.004_xx comes with a Test.pm module that'd be used otherwise. --- tests/Makefile.am.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Makefile.am.in') 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 $@ -- cgit v1.2.3-54-g00ecf