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.
pull/1/head
Peter Eisentraut 15 years ago
parent 3f7d24da16
commit 4502c8e1c0
  1. 1
      src/interfaces/Makefile
  2. 2
      src/interfaces/ecpg/Makefile

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

@ -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

Loading…
Cancel
Save