From 31609aa98f8365644353769c10e259b6192788e9 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Wed, 12 Sep 2007 18:56:33 -0700 Subject: [PATCH] Makefile: re-order targets and let user's PYTHONPATH be included in the PP --- Makefile | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index d687ffe5..c029d7b8 100644 --- a/Makefile +++ b/Makefile @@ -55,15 +55,6 @@ TRIAL=$(PYTHON) -u "$(TRIALPATH)" --rterrors --reactor=$(REACTOR) show-instdir: @echo $(INSTDIR)/lib -#PP=PYTHONPATH=$(PYTHONPATH) - -.PHONY: make-version build -make-version: - $(PYTHON) misc/make-version.py "allmydata-tahoe" "src/allmydata/_version.py" - -build: make-version - $(PP) $(PYTHON) ./setup.py build_ext -i - PYVER=$(shell $(PYTHON) misc/pyver.py) SUPPORT = $(BASE)/support SUPPORTLIB = $(SUPPORT)/lib/$(PYVER)/site-packages @@ -75,7 +66,14 @@ EGGSPATH = $(shell $(PYTHON) misc/find-dep-eggs.py) show-eggspath: @echo $(EGGSPATH) -PP = PYTHONPATH=$(EGGSPATH) +PP=PYTHONPATH=$(EGGSPATH):$(PYTHONPATH) + +.PHONY: make-version build +make-version: + $(PP) $(PYTHON) misc/make-version.py "allmydata-tahoe" "src/allmydata/_version.py" + +build: make-version + $(PP) $(PYTHON) ./setup.py build_ext -i # 'make install' will do the following: # build+install tahoe (probably to /usr/lib/pythonN.N/site-packages) -- 2.45.2