From 1a629042891878c7cbe19e9381d88c3a39148270 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 21 Jul 2008 09:28:49 -0700 Subject: [PATCH] setup: don't use "python" in Makefile, use $(PYTHON) everywhere --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 44bbd979..280f7864 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ default: build PYTHON=python -PATHSEP=$(shell python -c 'import os ; print os.pathsep') -OSSEP=$(shell python -c 'import os ; print os.sep') +PATHSEP=$(shell $(PYTHON) -c 'import os ; print os.pathsep') +OSSEP=$(shell $(PYTHON) -c 'import os ; print os.sep') REACTOR= @@ -16,7 +16,7 @@ ifneq ($(LIBRARY_DIRS),) LIBRARY_DIRS_ARG = -L$(LIBRARY_DIRS) endif -PLAT = $(strip $(shell python -c "import sys ; print sys.platform")) +PLAT = $(strip $(shell $(PYTHON) -c "import sys ; print sys.platform")) ifeq ($(PLAT),win32) # The platform is Windows with cygwin build tools and the native Python interpreter. SUPPORT = $(shell cygpath -w $(shell pwd))\support @@ -263,7 +263,7 @@ check-grid: .built # 'make repl' is a simple-to-type command to get a Python interpreter loop # from which you can type 'import allmydata' repl: - $(PP) python + $(PP) $(PYTHON) test-darcs-boringfile: $(MAKE) -- 2.45.2