aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-12-27 20:27:24 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-12-27 20:27:24 +0200
commitc317a3ac167d36244e8dd5add679b4e9ff36ea16 (patch)
tree9c53a770ac9ed1221e2edfb7a3d084f70885edb4
parent54d792f3e5a31d993aeee420e98adab0a0419e43 (diff)
downloadpostgresql-c317a3ac167d36244e8dd5add679b4e9ff36ea16.tar.gz
postgresql-c317a3ac167d36244e8dd5add679b4e9ff36ea16.zip
Run "make all" as a prerequisite of "make check"
This is the standard behavior but was forgotten in some places.
-rw-r--r--contrib/pg_upgrade/Makefile2
-rw-r--r--src/pl/plperl/GNUmakefile2
-rw-r--r--src/pl/plpython/Makefile4
-rw-r--r--src/pl/tcl/Makefile2
4 files changed, 5 insertions, 5 deletions
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