From: Peter Eisentraut Date: Wed, 24 Aug 2011 18:34:49 +0000 (+0300) Subject: Build src/ before contrib/ in make world X-Git-Tag: REL9_1_0~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed1a4adbe38ed94cc2e3c017a9f5be4b282bccb9;p=postgresql 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). --- 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)