зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
388 B
Makefile
24 строки
388 B
Makefile
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
|