From: Brian Warner Date: Sat, 15 Sep 2007 03:17:43 +0000 (-0700) Subject: Makefile: use absolute path to src/ in PP, since check-memory needs it (it chdirs... X-Git-Tag: allmydata-tahoe-0.6.0~113 X-Git-Url: https://git.rkrishnan.org/FOOURL?a=commitdiff_plain;h=228a576a3f06c6398743e100036d553be7d3b2e3;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: use absolute path to src/ in PP, since check-memory needs it (it chdirs then imports allmydata) --- diff --git a/Makefile b/Makefile index 9d981c14..955dff46 100644 --- a/Makefile +++ b/Makefile @@ -37,10 +37,12 @@ ifeq ($(PLAT),win32) TRIALPATH := $(shell cygpath -w $(TRIALPATH)) SUPPORT = $(shell cygpath -w $(shell pwd))\support SUPPORTLIB := $(SUPPORT)\Lib\site-packages + SRCPATH := $(shell cygpath -w $(shell pwd))\src else PYVER=$(shell $(PYTHON) misc/pyver.py) SUPPORT = $(shell pwd)/support SUPPORTLIB = $(SUPPORT)/lib/$(PYVER)/site-packages + SRCPATH := $(shell pwd)/src endif ifeq ($(PLAT),cygwin) @@ -65,7 +67,7 @@ EGGSPATH = $(shell $(PYTHON) misc/find-dep-eggs.py) show-eggspath: @echo $(EGGSPATH) -PP=PYTHONPATH="src$(PATHSEP)$(EGGSPATH)$(PATHSEP)$(PYTHONPATH)" +PP=PYTHONPATH="$(SRCPATH)$(PATHSEP)$(EGGSPATH)$(PATHSEP)$(PYTHONPATH)" .PHONY: make-version build make-version: