summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-09-23 20:41:29 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-09-23 20:41:29 +0000
commit3f8927bc5579d70b2cb55658874dcbf67be8c48e (patch)
treebbe1e84b3d31b394abee81acf69e25402834da7c /cpp/src
parentf022060ada6a14a91a762bbe3cd351244f8c06a5 (diff)
downloadqpid-python-3f8927bc5579d70b2cb55658874dcbf67be8c48e.tar.gz
Fix to allow python testing stuff to build outside source tree
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818246 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am
index a95051fe95..967daadb97 100644
--- a/cpp/src/tests/Makefile.am
+++ b/cpp/src/tests/Makefile.am
@@ -350,9 +350,7 @@ EXTRA_DIST+=fanout_perftest shared_perftest multiq_perftest topic_perftest run_f
check-long:
$(MAKE) check TESTS="$(LONG_TESTS)" VALGRIND=
-all: python_prep
+check: python_prep
python_prep :
- ( cd ../../../python ; make install EXEC_PREFIX=temp PYTHON_LIB=temp AMQP_SPEC_DIR=$${PWD}/../specs )
-
-
+ $(MAKE) -C $(abspath $(srcdir)/../../../python) install PREFIX=$(abs_builddir)/../../temp-install PYTHON_LIB=$(abs_builddir)/../../temp-install AMQP_SPEC_DIR=$(abspath $(srcdir)/../../../specs)