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.
This commit is contained in:
Peter Eisentraut 2011-03-08 23:49:59 +02:00
parent 3f7d24da16
commit 4502c8e1c0
2 changed files with 3 additions and 0 deletions

View File

@ -17,3 +17,4 @@ SUBDIRS = libpq ecpg
$(recurse)
all-ecpg-recurse: all-libpq-recurse
install-ecpg-recurse: install-libpq-recurse

View 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