X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=24e5b158ef90b3b6483e29226ed03dafa93095bc;hb=a92223f91edd2eeb48e1ad70aa4c843d778bfe94;hp=039820b2865b90f3f8d15ffacc9b3f1cae86bfc5;hpb=071f62fddeabab808850b303249adaaf84747c4c;p=nepi.git diff --git a/Makefile b/Makefile index 039820b2..24e5b158 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,11 @@ SUBBUILDDIR = $(shell python -c 'import distutils.util, sys; \ PYTHON25 := $(shell python -c 'import sys; v = sys.version_info; \ print (1 if v[0] <= 2 and v[1] <= 5 else 0)') +ifeq ($(PYTHON25),0) +BUILDDIR := $(BUILDDIR)/$(SUBBUILDDIR) +else BUILDDIR := $(BUILDDIR)/lib +endif PYPATH = $(BUILDDIR):$(TESTLIB):$(PYTHONPATH) COVERAGE = $(or $(shell which coverage), $(shell which python-coverage), \