This is the standard behavior but was forgotten in some places.
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
.PHONY: install-data uninstall-data
-check: submake
+check: all submake
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
installcheck: submake
clean3:
rm -rf python3/
-check: submake prep3
+check: all submake prep3
$(pg_regress_check) --inputdir=./python3 --outputdir=./python3 $(REGRESS_OPTS) $(REGRESS)
installcheck: submake prep3
clean: clean3
else # not Python 3
-check: submake
+check: all submake
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
installcheck: submake
.PHONY: install-data uninstall-data
-check: submake
+check: all submake
$(pg_regress_check) $(REGRESS_OPTS) $(REGRESS)
installcheck: submake