summaryrefslogtreecommitdiff
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
commit60f159802dac1851d923e0ab4d5ad4ccdff728da (patch)
tree861dc4cf410e8c61f7e614817ff4e409ed43cb51
parent7e876353f14827e423d64d0ef585f83076b822e5 (diff)
downloadqpid-python-60f159802dac1851d923e0ab4d5ad4ccdff728da.tar.gz
Fix to allow python testing stuff to build outside source tree
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818246 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/tests/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/qpid/cpp/src/tests/Makefile.am b/qpid/cpp/src/tests/Makefile.am
index a95051fe95..967daadb97 100644
--- a/qpid/cpp/src/tests/Makefile.am
+++ b/qpid/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)