# HG changeset patch # User mas01cr # Date 1265194202 0 # Node ID c322a631ba235d3b5a52f0e3255cbf200d181e7a # Parent 4dacfe92a6ff4b5772346140a7839f98d636d891 Yet more Makefile refinements Now stands a real chance on multiple python versions and multiple OSes. Still won't work on OS X, though. diff -r 4dacfe92a6ff -r c322a631ba23 bindings/python/Makefile --- a/bindings/python/Makefile Wed Feb 03 10:28:09 2010 +0000 +++ b/bindings/python/Makefile Wed Feb 03 10:50:02 2010 +0000 @@ -3,7 +3,7 @@ test: ../../libaudioDB.so.0.0 all (cd tests && \ - env PYTHONPATH=../build/lib.linux-`uname -m`-2.5 \ + env PYTHONPATH=$$(python -c 'import distutils; import distutils.util; import sys; print "../build/lib.%s-%s" % (distutils.util.get_platform(), sys.version[0:3])') \ LD_LIBRARY_PATH=../../.. \ python InitialisationRelated.py)