summaryrefslogtreecommitdiff
path: root/tests/tac
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-03 08:00:00 +0000
committerJim Meyering <jim@meyering.net>2000-08-03 08:00:00 +0000
commitc60c4a9fdc128e1fc0bb96a8bfbe13790567bb26 (patch)
tree91f08003264cdba9ef1c6b559d0c71eecb38f6ec /tests/tac
parent1d80882fc06555cfcaea0680a9d292f4babe9a0f (diff)
downloadcoreutils-c60c4a9fdc128e1fc0bb96a8bfbe13790567bb26.tar.xz
.
Diffstat (limited to 'tests/tac')
-rw-r--r--tests/tac/Makefile.am4
-rw-r--r--tests/tac/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/tac/Makefile.am b/tests/tac/Makefile.am
index 2f9ee4749..7ad899ee7 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 60bca42ca..e232113d0 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 $@