From 7adbaf0a6082ce16411771ceb22d1277590f0da8 Mon Sep 17 00:00:00 2001 From: Eric Chanudet Date: Fri, 23 Feb 2018 18:08:05 -0500 Subject: [PATCH] rpcgen: Align with layer changes. Use appropriate variables to find IDL files and rpcgen templates. Signed-off-by: Eric Chanudet OXT-1265 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fbfee68..e931f3f 100644 --- a/Makefile +++ b/Makefile @@ -86,9 +86,9 @@ clean: rm -rf dist/lib rm -rf ${BUILT} -${IDL_GENSRC_DIR}/%_client.js: ${IDL_DIR}/%.xml +${IDL_GENSRC_DIR}/%_client.js: ${STAGING_IDLDATADIR}/%.xml mkdir -p ${IDL_GENSRC_DIR} - ${RPCGEN} --javascript --client -o ${IDL_GENSRC_DIR} $< || rm -f $@ + ${RPCGEN} --templates-dir=${STAGING_RPCGENDATADIR_NATIVE} --javascript --client -o ${IDL_GENSRC_DIR} $< || rm -f $@