Run "make all" as a prerequisite of "make check"

This is the standard behavior but was forgotten in some places.
This commit is contained in:
Peter Eisentraut 2011-12-27 20:27:24 +02:00
parent 54d792f3e5
commit c317a3ac16
4 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk include $(top_srcdir)/contrib/contrib-global.mk
endif endif
check: test.sh check: test.sh all
MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) $(SHELL) $< --install MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) $(SHELL) $< --install
# disabled because it upsets the build farm # disabled because it upsets the build farm

View File

@ -97,7 +97,7 @@ uninstall-data:
.PHONY: install-data uninstall-data .PHONY: install-data uninstall-data
check: submake check: all submake
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
installcheck: submake installcheck: submake

View File

@ -149,7 +149,7 @@ prep3:
clean3: clean3:
rm -rf python3/ rm -rf python3/
check: submake prep3 check: all submake prep3
$(pg_regress_check) --inputdir=./python3 --outputdir=./python3 $(REGRESS_OPTS) $(REGRESS) $(pg_regress_check) --inputdir=./python3 --outputdir=./python3 $(REGRESS_OPTS) $(REGRESS)
installcheck: submake prep3 installcheck: submake prep3
@ -157,7 +157,7 @@ installcheck: submake prep3
clean: clean3 clean: clean3
else # not Python 3 else # not Python 3
check: submake check: all submake
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
installcheck: submake installcheck: submake

View File

@ -73,7 +73,7 @@ uninstall-data:
.PHONY: install-data uninstall-data .PHONY: install-data uninstall-data
check: submake check: all submake
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
installcheck: submake installcheck: submake