]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use `-I.' with each invocation of $(PERL).
authorJim Meyering <jim@meyering.net>
Sun, 3 May 1998 21:41:51 +0000 (21:41 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 May 1998 21:41:51 +0000 (21:41 +0000)
perl-5.004_xx comes with a Test.pm module that'd be used otherwise.

tests/Makefile.am.in

index 92572dfe9f01f38763cce7daa382d86a11f5dbf5..2c8e4780e4bb8249ff560bf806fd836f665424b6 100644 (file)
@@ -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 $@