You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2009/09/29 17:49:03 UTC
svn commit: r819994 - /qpid/trunk/qpid/cpp/src/tests/Makefile.am
Author: aconway
Date: Tue Sep 29 15:49:03 2009
New Revision: 819994
URL: http://svn.apache.org/viewvc?rev=819994&view=rev
Log:
Fix dependencies so python client used by tests is built before tests.
Modified:
qpid/trunk/qpid/cpp/src/tests/Makefile.am
Modified: qpid/trunk/qpid/cpp/src/tests/Makefile.am
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/Makefile.am?rev=819994&r1=819993&r2=819994&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/Makefile.am (original)
+++ qpid/trunk/qpid/cpp/src/tests/Makefile.am Tue Sep 29 15:49:03 2009
@@ -363,6 +363,9 @@
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); \
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); \
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org