qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r807754 - /qpid/trunk/qpid/python/Makefile
Date Tue, 25 Aug 2009 18:35:47 GMT
Author: rhs
Date: Tue Aug 25 18:35:46 2009
New Revision: 807754

URL: http://svn.apache.org/viewvc?rev=807754&view=rev
Log:
worked around the lack of abspath on older systems

Modified:
    qpid/trunk/qpid/python/Makefile

Modified: qpid/trunk/qpid/python/Makefile
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/Makefile?rev=807754&r1=807753&r2=807754&view=diff
==============================================================================
--- qpid/trunk/qpid/python/Makefile (original)
+++ qpid/trunk/qpid/python/Makefile Tue Aug 25 18:35:46 2009
@@ -23,7 +23,13 @@
 
 PYTHON_LIB=$(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(prefix='$(PREFIX)')")
 PYTHON_VERSION=$(shell python -c "from distutils.sysconfig import get_python_version; print
get_python_version()")
-AMQP_SPEC_DIR=$(abspath $(DATA_DIR)/amqp)
+
+ddfirst=$(shell ddir=$(DATA_DIR) && echo $${ddir:0:1})
+ifeq ($(ddfirst),/)
+AMQP_SPEC_DIR=$(DATA_DIR)/amqp
+else
+AMQP_SPEC_DIR=$(PWD)/$(DATA_DIR)/amqp
+endif
 
 DIRS=qmf qpid mllib models examples tests tests_0-8 tests_0-9 tests_0-10
 SRCS=$(shell find $(DIRS) -name "*.py") qpid_config.py



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message