Makefile (388B)
1 HERE = $(shell pwd) 2 BIN = $(HERE)/bin 3 PYTHON = $(BIN)/python 4 INSTALL = $(BIN)/pip install --no-deps 5 BUILD_DIRS = bin build include lib lib64 man share 6 VIRTUALENV = virtualenv 7 8 .PHONY: all test build docs 9 10 all: build 11 12 $(PYTHON): 13 $(VIRTUALENV) $(VTENV_OPTS) . 14 15 build: $(PYTHON) 16 $(PYTHON) setup.py develop 17 $(BIN)/pip install tox 18 19 test: build 20 $(BIN)/tox 21 22 docs: build 23 $(BIN)/tox -e docs