]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
($(srcdir)/$x-tests): Use -I$(srcdir), not `-I.'.
authorJim Meyering <jim@meyering.net>
Thu, 3 Aug 2000 07:57:46 +0000 (07:57 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 3 Aug 2000 07:57:46 +0000 (07:57 +0000)
(Makefile.am): Likewise.  Reported by Greg McGary.

tests/Makefile.am.in

index 1a415e6d324538dd1d5ac14082c660d8169077c8..14ad85ad782ce3aa30d5352eb442dc01ed0be6f5 100644 (file)
@@ -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 $@