summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2016-09-16 07:07:04 +0000
committerPavan Deolasee2016-10-18 10:07:48 +0000
commit86a4cde50dd3e2cb7f5f745a928efd6e492664c7 (patch)
treec4445b2e973f940d757f75b3ba4c0b286d52b8f7
parent8e1a1ab7dfc2cddca2289c36fd6c26d535ac8d9a (diff)
Make another attempt to fix vpath build for pgxc_ctl contrib module
-rw-r--r--contrib/pgxc_ctl/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/pgxc_ctl/Makefile b/contrib/pgxc_ctl/Makefile
index 22f385041f..e73764bd45 100644
--- a/contrib/pgxc_ctl/Makefile
+++ b/contrib/pgxc_ctl/Makefile
@@ -37,7 +37,11 @@ include $(top_srcdir)/contrib/contrib-global.mk
endif
pgxc_ctl_bash.c: pgxc_ctl_conf_part_full pgxc_ctl_conf_part_minimal pgxc_ctl_conf_part_empty pgxc_ctl_bash_2
- $(top_srcdir)/$(subdir)/make_signature
+ cd $(top_srcdir)/$(subdir) && ./make_signature
+ifeq ($(vpath_build),yes)
+ mv $(top_srcdir)/$(subdir)/signature.h .
+ mv $(top_srcdir)/$(subdir)/pgxc_ctl_bash.c .
+endif
clean: clean-script