summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-08-24 21:34:49 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-08-24 21:36:53 +0300
commited1a4adbe38ed94cc2e3c017a9f5be4b282bccb9 (patch)
tree5d78230e8c41657977a24354a7dea04704c2be37
parent867c20c0720bb2fb7441cbb80949b9ae579ee774 (diff)
Build src/ before contrib/ in make world
This fixes failures under parallel make when contrib modules use a generated backend header file (such as errcodes.h).
-rw-r--r--GNUmakefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 79b0da42a84..50fae4128aa 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -20,6 +20,9 @@ $(call recurse,world,doc src config contrib,all)
world:
+@echo "PostgreSQL, contrib, and documentation successfully made. Ready to install."
+# build src/ before contrib/
+world-contrib-recurse: world-src-recurse
+
html man:
$(MAKE) -C doc $@
@@ -33,6 +36,9 @@ $(call recurse,install-world,doc src config contrib,install)
install-world:
+@echo "PostgreSQL, contrib, and documentation installation complete."
+# build src/ before contrib/
+install-world-contrib-recurse: install-world-src-recurse
+
$(call recurse,installdirs uninstall coverage,doc src config)
$(call recurse,distprep,doc src config contrib)