summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-02-15 03:32:14 +0000
committerRafael H. Schloming <rhs@apache.org>2010-02-15 03:32:14 +0000
commit4680532a180cae9587b57b1b233044fa4706c9c5 (patch)
treebdbe8466fa3da35c1b21195357f38bddf0d250c0 /cpp
parentbbfbea04e3a949adc1af716fdd1ee61acc445007 (diff)
downloadqpid-python-4680532a180cae9587b57b1b233044fa4706c9c5.tar.gz
use python/setup.py instead of python/Makefile
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/tests/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am
index 55ec9175eb..55d76ec6a5 100644
--- a/cpp/src/tests/Makefile.am
+++ b/cpp/src/tests/Makefile.am
@@ -377,6 +377,9 @@ all-am: python_prep
python_prep:
if test -d $(PYTHON_SRC_DIR) -a -d $(AMQP_SPEC_DIR); \
- then $(MAKE) -C $(PYTHON_SRC_DIR) install PREFIX=$(PYTHON_BLD_DIR) PYTHON_LIB=$(PYTHON_BLD_DIR) EXEC_PREFIX=$(PYTHON_BLD_DIR)/commands AMQP_SPEC_DIR=$(AMQP_SPEC_DIR); \
+ then cd $(PYTHON_SRC_DIR) && python $(PYTHON_SRC_DIR)/setup.py install \
+ --prefix=$(PYTHON_BLD_DIR) --install-lib=$(PYTHON_BLD_DIR) \
+ --install-scripts=$(PYTHON_BLD_DIR)/commands \
+ --amqp-spec-dir=$(AMQP_SPEC_DIR); \
else echo "WARNING: python client not built, missing one of $(PYTHON_SRC_DIR) $(AMQP_SPEC_DIR)"; fi