postgres.git / summary / log / commit / refs
commit 4502c8e1c06164adb7be526096e91e04d1844d36
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Tue Mar 08 21:49:59 2011 +0000
First released in: 9.1.0
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.
src/interfaces/Makefile | 1 +
src/interfaces/ecpg/Makefile | 2 ++
2 files changed, 3 insertions(+)
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
[parent: 3f7d24da16d3]