From: Peter Eisentraut Date: Tue, 8 Mar 2011 21:49:59 +0000 (+0200) Subject: Fix parallel make when running make install before make all X-Git-Tag: REL9_1_ALPHA4~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4502c8e1c06164adb7be526096e91e04d1844d36;p=postgresql Fix parallel make when running make install before make all In addition to the all-foo-recurse: all-bar-recurse dependencies that constraint the order of the rule execution, we need install-foo-recurse: install-bar-recurse dependencies in case one runs make install without a make all first, as some people apparently do. --- diff --git a/src/interfaces/Makefile b/src/interfaces/Makefile index 9fe368eed5..7d56b29d28 100644 --- a/src/interfaces/Makefile +++ b/src/interfaces/Makefile @@ -17,3 +17,4 @@ SUBDIRS = libpq ecpg $(recurse) all-ecpg-recurse: all-libpq-recurse +install-ecpg-recurse: install-libpq-recurse diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile index ca434c8ce2..e89f2fe0f2 100644 --- a/src/interfaces/ecpg/Makefile +++ b/src/interfaces/ecpg/Makefile @@ -8,6 +8,8 @@ $(recurse) all-compatlib-recurse: all-ecpglib-recurse all-ecpglib-recurse: all-pgtypeslib-recurse +install-compatlib-recurse: install-ecpglib-recurse +install-ecpglib-recurse: install-pgtypeslib-recurse clean distclean maintainer-clean: $(MAKE) -C test clean