Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4803de6

Browse files
committed
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).
1 parent ba69b41 commit 4803de6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

GNUmakefile.in

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ $(call recurse,world,doc src config contrib,all)
2020
world:
2121
+@echo "PostgreSQL, contrib, and documentation successfully made. Ready to install."
2222

23+
# build src/ before contrib/
24+
world-contrib-recurse: world-src-recurse
25+
2326
html man:
2427
$(MAKE) -C doc $@
2528

@@ -33,6 +36,9 @@ $(call recurse,install-world,doc src config contrib,install)
3336
install-world:
3437
+@echo "PostgreSQL, contrib, and documentation installation complete."
3538

39+
# build src/ before contrib/
40+
install-world-contrib-recurse: install-world-src-recurse
41+
3642
$(call recurse,installdirs uninstall coverage,doc src config)
3743

3844
$(call recurse,distprep,doc src config contrib)

0 commit comments

Comments
 (0)