From: Peter Eisentraut Date: Tue, 27 Dec 2011 18:27:24 +0000 (+0200) Subject: Run "make all" as a prerequisite of "make check" X-Git-Tag: REL9_2_BETA1~650 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c317a3ac167d36244e8dd5add679b4e9ff36ea16;p=thirdparty%2Fpostgresql.git Run "make all" as a prerequisite of "make check" This is the standard behavior but was forgotten in some places. --- diff --git a/contrib/pg_upgrade/Makefile b/contrib/pg_upgrade/Makefile index f00aad01d66..364b20df1ba 100644 --- a/contrib/pg_upgrade/Makefile +++ b/contrib/pg_upgrade/Makefile @@ -24,7 +24,7 @@ include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk endif -check: test.sh +check: test.sh all MAKE=$(MAKE) bindir=$(bindir) libdir=$(libdir) $(SHELL) $< --install # disabled because it upsets the build farm diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile index 55f48cd401a..0f3bd99570a 100644 --- a/src/pl/plperl/GNUmakefile +++ b/src/pl/plperl/GNUmakefile @@ -97,7 +97,7 @@ uninstall-data: .PHONY: install-data uninstall-data -check: submake +check: all submake $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) installcheck: submake diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index a31328dd042..af6b4595336 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -149,7 +149,7 @@ prep3: clean3: rm -rf python3/ -check: submake prep3 +check: all submake prep3 $(pg_regress_check) --inputdir=./python3 --outputdir=./python3 $(REGRESS_OPTS) $(REGRESS) installcheck: submake prep3 @@ -157,7 +157,7 @@ installcheck: submake prep3 clean: clean3 else # not Python 3 -check: submake +check: all submake $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) installcheck: submake diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile index 77c173bcd8c..8a6325aa469 100644 --- a/src/pl/tcl/Makefile +++ b/src/pl/tcl/Makefile @@ -73,7 +73,7 @@ uninstall-data: .PHONY: install-data uninstall-data -check: submake +check: all submake $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) installcheck: submake