HERE = $(shell pwd) BIN = $(HERE)/bin PYTHON = $(BIN)/python INSTALL = $(BIN)/pip install --no-deps BUILD_DIRS = bin build include lib lib64 man share VIRTUALENV = virtualenv .PHONY: all test build docs all: build $(PYTHON): $(VIRTUALENV) $(VTENV_OPTS) . build: $(PYTHON) $(PYTHON) setup.py develop $(BIN)/pip install tox test: build $(BIN)/tox docs: build $(BIN)/tox -e docs