From 388bbfb77357bc7538cfc1cdc5e6189c98d6441b Mon Sep 17 00:00:00 2001 From: Christian Kruse Date: Tue, 21 Jan 2014 14:23:33 +0100 Subject: [PATCH] split install target into install_prog and install_ext Patch by Marco Nenciarini --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cf135688..4e961f53 100644 --- a/Makefile +++ b/Makefile @@ -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))