split install target into install_prog and install_ext

Patch by Marco Nenciarini <mnencia@debian.org>
This commit is contained in:
Christian Kruse
2014-01-21 14:23:33 +01:00
parent a89aa02c68
commit 388bbfb773

View File

@@ -33,9 +33,13 @@ endif
# XXX: Try to use PROGRAM construct (see pgxs.mk) someday. Right now
# is overriding pgxs install.
install:
install: install_prog install_ext
install_prog:
$(INSTALL_PROGRAM) repmgrd$(X) '$(DESTDIR)$(bindir)'
$(INSTALL_PROGRAM) repmgr$(X) '$(DESTDIR)$(bindir)'
install_ext:
$(MAKE) -C sql install
ifneq (,$(DATA)$(DATA_built))