summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Makefile.am
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-02-15 06:49:30 +0000
committerRafael H. Schloming <rhs@apache.org>2010-02-15 06:49:30 +0000
commite5e8ff38dbead6870ba2413b2420d4ae02ff8119 (patch)
tree1e388f04ee60c0290a90bece55b6baf61b0235fc /qpid/cpp/src/tests/Makefile.am
parentae8a567adb7cc36898fe65ed9ce7b5c016acf924 (diff)
downloadqpid-python-e5e8ff38dbead6870ba2413b2420d4ae02ff8119.tar.gz
more futzing with setup.py; pulled specs into python/qpid package
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Makefile.am')
-rw-r--r--qpid/cpp/src/tests/Makefile.am9
1 files changed, 3 insertions, 6 deletions
diff --git a/qpid/cpp/src/tests/Makefile.am b/qpid/cpp/src/tests/Makefile.am
index 55d76ec6a5..4d65803ac1 100644
--- a/qpid/cpp/src/tests/Makefile.am
+++ b/qpid/cpp/src/tests/Makefile.am
@@ -370,16 +370,13 @@ check: python_prep
PYTHON_SRC_DIR=$(abs_srcdir)/../../../python
PYTHON_BLD_DIR=$(abs_builddir)/python
-AMQP_SPEC_DIR=$(abs_srcdir)/../../../specs
# Generate python client as part of the all-am target so it gets built before tests.
all-am: python_prep
python_prep:
- if test -d $(PYTHON_SRC_DIR) -a -d $(AMQP_SPEC_DIR); \
+ if test -d $(PYTHON_SRC_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
-
+ --install-scripts=$(PYTHON_BLD_DIR)/commands; \
+ else echo "WARNING: python client not built, missing $(PYTHON_SRC_DIR)"; fi