From: Pavan Deolasee Date: Fri, 16 Sep 2016 07:07:04 +0000 (+0530) Subject: Make another attempt to fix vpath build for pgxc_ctl contrib module X-Git-Tag: XL9_5_R1_4~14 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=b87a7875f0ffa93eb74ab62a7a7f7b7c25f3f78d;p=postgres-xl.git Make another attempt to fix vpath build for pgxc_ctl contrib module --- 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