Peter Eisentraut committed 4803de6

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).

  • Participants
  • Parent commits ba69b41

Comments (0)

Files changed (1)

 	+@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 $@
 	+@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)