diff options
Diffstat (limited to 'config/conclude.in')
-rw-r--r-- | config/conclude.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/config/conclude.in b/config/conclude.in index 2f55ede..3b82c06 100644 --- a/config/conclude.in +++ b/config/conclude.in @@ -26,7 +26,9 @@ check test _test: tests echo "============================"; \ echo "Testing $$test $(TEST_FLAGS)"; \ echo "============================"; \ - $(RUNTEST) ./$$test $(TEST_FLAGS) || exit 1; \ + PATH=".:$$PATH" srcdir=$(srcdir) \ + $(RUNTEST) $$test $(TEST_FLAGS) || \ + exit 1; \ echo ""; \ fi; \ done; @@ -35,7 +37,9 @@ check test _test: tests echo "============================"; \ echo "Testing $$test $(TEST_FLAGS)"; \ echo "============================"; \ - $(RUNTEST) /bin/sh ./$$test $(TEST_FLAGS) || exit 1; \ + srcdir=$(srcdir) \ + $(RUNTEST) /bin/sh $$test $(TEST_FLAGS) || \ + exit 1; \ echo ""; \ fi; \ done; @@ -99,10 +103,11 @@ clean: mostlyclean # distclean: clean -$(RM) .depend TAGS *~ core *.core *.bak *.old *.new $(DISTCLEAN) - @if test -f Makefile.in; then \ + @if test -f $(srcdir)/Makefile.in; then \ (set -x; $(RM) Makefile); \ fi + # Like `distclean' except it deletes all files that can be regenerated from # the makefile, including those generated from autoheader and autoconf. # |