]> granicus.if.org Git - postgresql/commitdiff
Fix parallel make when running make install before make all
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 8 Mar 2011 21:49:59 +0000 (23:49 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 8 Mar 2011 21:52:29 +0000 (23:52 +0200)
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.

src/interfaces/Makefile
src/interfaces/ecpg/Makefile

index 9fe368eed50a8ee022118c338e365434d6737d8c..7d56b29d28f561c2f0b6f246630f667c18a3ed84 100644 (file)
@@ -17,3 +17,4 @@ SUBDIRS = libpq ecpg
 $(recurse)
 
 all-ecpg-recurse: all-libpq-recurse
+install-ecpg-recurse: install-libpq-recurse
index ca434c8ce22e56bd2214453a4d498ae3b3099844..e89f2fe0f28d987a2057ea4cfc5079f238e589ba 100644 (file)
@@ -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