--- branches/magellan-next/include/python.sminc 2010/09/23 18:16:10 6882 +++ branches/magellan-next/include/python.sminc 2011/07/12 17:16:31 8121 @@ -31,6 +31,10 @@ if [[ -e setup.py ]] then python setup.py build "$@" || die + elif [[ -e waf ]] + then + python waf configure --prefix=/usr "$@" || die + python waf build "$@" || die elif [[ -e configure ]] then mconfigure "$@" || die @@ -47,6 +51,9 @@ if [[ -e setup.py ]] then python setup.py install --no-compile --root ${BINDIR} "$@" || die + elif [[ -e waf ]] + then + python waf install --destdir="${BINDIR}" "$@" || die else mmake DESTDIR=${BINDIR} install || die fi