mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
362abcf949
The `clobber` targets are superseded by `mach clobber`, so we don't need them for any reason. The `clean` target is meant to get you to a post-`configure` state, but it doesn't really work, and if it's necessary for you to be in that state for some reason you can just clobber and re-`configure`, so it doesn't seem worth it to get it working again. Instead, delete all of them. Also delete `everything` which is not useful when `clobber` doesn't exist. Differential Revision: https://phabricator.services.mozilla.com/D93514
24 lines
388 B
Makefile
24 lines
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
|