summaryrefslogtreecommitdiff
path: root/tests/join
diff options
context:
space:
mode:
Diffstat (limited to 'tests/join')
-rw-r--r--tests/join/Makefile.am4
-rw-r--r--tests/join/Makefile.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/join/Makefile.am b/tests/join/Makefile.am
index ca8d340f8..a3ec1f7c7 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 dcaa0e41a..40c900897 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 $@