]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: use absolute path to src/ in PP, since check-memory needs it (it chdirs...
authorBrian Warner <warner@lothar.com>
Sat, 15 Sep 2007 03:17:43 +0000 (20:17 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 15 Sep 2007 03:17:43 +0000 (20:17 -0700)
Makefile

index 9d981c14b7ca44031bf37bb134cd49bd06269842..955dff464e0c823b8ffe684350349b58d121bf4d 100644 (file)
--- 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: