diff options
Diffstat (limited to 'tests/head')
-rw-r--r-- | tests/head/Makefile.am | 4 | ||||
-rw-r--r-- | tests/head/Makefile.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/head/Makefile.am b/tests/head/Makefile.am index 575f05f83..cb931c5c8 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 725eb68a9..b5f0b7607 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 $@ |