summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
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:34:49 +0300
commit4803de6f8932e2f2b96bb1243ba07a05cd2c3ae5 (patch)
tree10d563b2412a0db38d2a587d82e52be84df3995f /GNUmakefile.in
parentba69b419a8015986d018e25173f8cf4233a3c2d9 (diff)
downloadpostgresql-4803de6f8932e2f2b96bb1243ba07a05cd2c3ae5.tar.gz
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).
Diffstat (limited to 'GNUmakefile.in')
-rw-r--r--GNUmakefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 79b0da42a8..50fae4128a 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)