Commit 852cd51c authored by Reinout van Rees's avatar Reinout van Rees

Makefile now depends on bin/python inside generated dir

The cache mechanism of travis-ci.org itself creates the cache directory, so it
is already there before we try to add it.
The bin/python inside it seems a good target.
parent f4f8ead1
...@@ -32,7 +32,7 @@ BUILD_DIRS = $(PYTHON_PATH) bin build develop-eggs eggs parts ...@@ -32,7 +32,7 @@ BUILD_DIRS = $(PYTHON_PATH) bin build develop-eggs eggs parts
all: build all: build
$(PYTHON_PATH): $(PYTHON_PATH)/bin/$(PYTHON_EXE):
@echo "Installing Python" @echo "Installing Python"
mkdir -p $(PYTHON_PATH) mkdir -p $(PYTHON_PATH)
cd $(PYTHON_PATH) && \ cd $(PYTHON_PATH) && \
...@@ -49,7 +49,7 @@ endif ...@@ -49,7 +49,7 @@ endif
make install >/dev/null 2>&1 make install >/dev/null 2>&1
@echo "Finished installing Python" @echo "Finished installing Python"
build: $(PYTHON_PATH) build: $(PYTHON_PATH)/bin/$(PYTHON_EXE)
$(PYTHON_PATH)/bin/$(PYTHON_EXE) dev.py $(PYTHON_PATH)/bin/$(PYTHON_EXE) dev.py
clean: clean:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment