diff options
Diffstat (limited to 'tests/test/Makefile.am')
-rw-r--r-- | tests/test/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test/Makefile.am b/tests/test/Makefile.am index 4114c5edd..362e7c5c9 100644 --- a/tests/test/Makefile.am +++ b/tests/test/Makefile.am @@ -106,7 +106,7 @@ TESTS = $x-tests mk_script = $(srcdir)/../mk-script $(srcdir)/$x-tests: $(mk_script) Test.pm - $(PERL) -I$(srcdir) -w -- $(mk_script) ../../src/$x > $@.n + $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) ../../src/$x > $@.n mv $@.n $@ chmod 755 $@ @@ -115,11 +115,11 @@ CLEANFILES = $(run_gen) check: $(maint_gen) -Makefile.am: ../Makefile.am.in Test.pm $(mk_script) +$(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script) rm -f $@ $@t sed -n '1,/^##test-files-begin/p' $< > $@t tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \ echo "x = $$tool" >> $@t - $(PERL) -I$(srcdir) -w -- $(mk_script) --list >> $@t + $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t sed -n '/^##test-files-end/,$$p' $< >> $@t mv $@t $@ |