]> granicus.if.org Git - postgresql/commitdiff
Run "make all" as a prerequisite of "make check"
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 27 Dec 2011 18:27:24 +0000 (20:27 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 27 Dec 2011 18:27:24 +0000 (20:27 +0200)
This is the standard behavior but was forgotten in some places.

contrib/pg_upgrade/Makefile
src/pl/plperl/GNUmakefile
src/pl/plpython/Makefile
src/pl/tcl/Makefile

index f00aad01d66494bfb5d7e5f2a863ecb72c92cbd7..364b20df1ba3d4555da484c49576ab1c5693bff8 100644 (file)
@@ -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
index 55f48cd401a15e05c02feec089e7cd8fe9619c41..0f3bd99570a2ae96b784f858100b5ed7dcd81d64 100644 (file)
@@ -97,7 +97,7 @@ uninstall-data:
 .PHONY: install-data uninstall-data
 
 
-check: submake
+check: all submake
        $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
 
 installcheck: submake
index a31328dd0423143f8d94b0903f854f8c66fa12c3..af6b459533627d3fce345caa1cd525849cd42654 100644 (file)
@@ -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
index 77c173bcd8c4c809a867d891d2f20469e54a3468..8a6325aa4694c67973d0d1324499d4b50e289237 100644 (file)
@@ -73,7 +73,7 @@ uninstall-data:
 .PHONY: install-data uninstall-data
 
 
-check: submake
+check: all submake
        $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
 
 installcheck: submake