From: Jim Meyering Date: Thu, 3 Aug 2000 08:00:00 +0000 (+0000) Subject: . X-Git-Tag: TEXTUTILS-2_0g~27 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c60c4a9fdc128e1fc0bb96a8bfbe13790567bb26;p=thirdparty%2Fcoreutils.git . --- diff --git a/tests/cut/Makefile.am b/tests/cut/Makefile.am index fbe59bade5..037c7c224f 100644 --- a/tests/cut/Makefile.am +++ b/tests/cut/Makefile.am @@ -31,7 +31,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 $@ @@ -45,6 +45,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 $@ diff --git a/tests/cut/Makefile.in b/tests/cut/Makefile.in index 11c9a99099..fecfbf7e41 100644 --- a/tests/cut/Makefile.in +++ b/tests/cut/Makefile.in @@ -304,7 +304,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -315,7 +315,7 @@ 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 $@ diff --git a/tests/head/Makefile.am b/tests/head/Makefile.am index 575f05f837..cb931c5c8b 100644 --- a/tests/head/Makefile.am +++ b/tests/head/Makefile.am @@ -28,7 +28,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 $@ @@ -42,6 +42,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 $@ diff --git a/tests/head/Makefile.in b/tests/head/Makefile.in index 725eb68a9e..b5f0b76074 100644 --- a/tests/head/Makefile.in +++ b/tests/head/Makefile.in @@ -301,7 +301,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -312,7 +312,7 @@ 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 $@ diff --git a/tests/join/Makefile.am b/tests/join/Makefile.am index ca8d340f80..a3ec1f7c70 100644 --- a/tests/join/Makefile.am +++ b/tests/join/Makefile.am @@ -31,7 +31,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 $@ @@ -45,6 +45,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 $@ diff --git a/tests/join/Makefile.in b/tests/join/Makefile.in index dcaa0e41a9..40c9008978 100644 --- a/tests/join/Makefile.in +++ b/tests/join/Makefile.in @@ -304,7 +304,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -315,7 +315,7 @@ 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 $@ diff --git a/tests/pr/Makefile.am b/tests/pr/Makefile.am index f6e63a1764..89f6d82ed9 100644 --- a/tests/pr/Makefile.am +++ b/tests/pr/Makefile.am @@ -80,7 +80,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 $@ @@ -94,6 +94,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 $@ diff --git a/tests/pr/Makefile.in b/tests/pr/Makefile.in index 81099d9cad..83e0e66361 100644 --- a/tests/pr/Makefile.in +++ b/tests/pr/Makefile.in @@ -354,7 +354,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -365,7 +365,7 @@ 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 $@ diff --git a/tests/sort/Makefile.am b/tests/sort/Makefile.am index 3f7de04a4d..5005ad9675 100644 --- a/tests/sort/Makefile.am +++ b/tests/sort/Makefile.am @@ -51,7 +51,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 $@ @@ -65,6 +65,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 $@ diff --git a/tests/sort/Makefile.in b/tests/sort/Makefile.in index 2caf9feb70..de75b998a0 100644 --- a/tests/sort/Makefile.in +++ b/tests/sort/Makefile.in @@ -324,7 +324,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -335,7 +335,7 @@ 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 $@ diff --git a/tests/tac/Makefile.am b/tests/tac/Makefile.am index 2f9ee47498..7ad899ee7b 100644 --- a/tests/tac/Makefile.am +++ b/tests/tac/Makefile.am @@ -29,7 +29,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 $@ @@ -43,6 +43,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 $@ diff --git a/tests/tac/Makefile.in b/tests/tac/Makefile.in index 60bca42ca4..e232113d04 100644 --- a/tests/tac/Makefile.in +++ b/tests/tac/Makefile.in @@ -302,7 +302,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -313,7 +313,7 @@ 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 $@ diff --git a/tests/tail/Makefile.am b/tests/tail/Makefile.am index 7667ccc7a4..f64deae3f0 100644 --- a/tests/tail/Makefile.am +++ b/tests/tail/Makefile.am @@ -31,7 +31,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 $@ @@ -45,6 +45,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 $@ diff --git a/tests/tail/Makefile.in b/tests/tail/Makefile.in index c26a0987d5..53f73463d5 100644 --- a/tests/tail/Makefile.in +++ b/tests/tail/Makefile.in @@ -304,7 +304,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -315,7 +315,7 @@ 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 $@ diff --git a/tests/tr/Makefile.am b/tests/tr/Makefile.am index 9ad94c5d60..b8e6945e22 100644 --- a/tests/tr/Makefile.am +++ b/tests/tr/Makefile.am @@ -33,7 +33,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 $@ @@ -47,6 +47,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 $@ diff --git a/tests/tr/Makefile.in b/tests/tr/Makefile.in index fe584304cf..cc97c0ae4e 100644 --- a/tests/tr/Makefile.in +++ b/tests/tr/Makefile.in @@ -306,7 +306,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -317,7 +317,7 @@ 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 $@ diff --git a/tests/uniq/Makefile.am b/tests/uniq/Makefile.am index 4bc1905ff2..6688f7ec99 100644 --- a/tests/uniq/Makefile.am +++ b/tests/uniq/Makefile.am @@ -27,7 +27,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 $@ @@ -41,6 +41,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 $@ diff --git a/tests/uniq/Makefile.in b/tests/uniq/Makefile.in index 51db256d05..567e013589 100644 --- a/tests/uniq/Makefile.in +++ b/tests/uniq/Makefile.in @@ -300,7 +300,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -311,7 +311,7 @@ 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 $@ diff --git a/tests/wc/Makefile.am b/tests/wc/Makefile.am index e34eb0d70d..ac209ece48 100644 --- a/tests/wc/Makefile.am +++ b/tests/wc/Makefile.am @@ -21,7 +21,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 $@ @@ -35,6 +35,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 $@ diff --git a/tests/wc/Makefile.in b/tests/wc/Makefile.in index f195e5c1aa..1c457efa1f 100644 --- a/tests/wc/Makefile.in +++ b/tests/wc/Makefile.in @@ -294,7 +294,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean $(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 $@ @@ -305,7 +305,7 @@ 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 $@