summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut2011-03-08 21:49:59 +0000
committerPeter Eisentraut2011-03-08 21:52:29 +0000
commit4502c8e1c06164adb7be526096e91e04d1844d36 (patch)
tree685d04e47ab6fe8c617fa1faabb0254cdd403812 /src
parent3f7d24da16d32ad0fa5abf04b669e86a7d458160 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/Makefile1
-rw-r--r--src/interfaces/ecpg/Makefile2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/Makefile b/src/interfaces/Makefile
index 9fe368eed50..7d56b29d28f 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 ca434c8ce22..e89f2fe0f28 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