Makefile
29 lines
| 577 B
| text/x-makefile
|
MakefileLexer
Thomas Arendsen Hein
|
r1008 | # This Makefile is only used by developers. | ||
PYTHON=python | ||||
all: | ||||
mpm@selenic.com
|
r1020 | $(PYTHON) setup.py build_ext -i | ||
install: | ||||
Thomas Arendsen Hein
|
r1008 | @echo "Read the file README for install instructions." | ||
clean: | ||||
-$(PYTHON) setup.py clean --all # ignore errors of this command | ||||
find . -name '*.py[co]' -exec rm -f '{}' ';' | ||||
levon@movementarian.org
|
r1423 | $(MAKE) -C doc clean | ||
Thomas Arendsen Hein
|
r1008 | |||
dist: tests doc | ||||
TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest | ||||
tests: | ||||
Stephen Darnell
|
r2207 | cd tests && $(PYTHON) run-tests.py | ||
Thomas Arendsen Hein
|
r1008 | |||
Benoit Boissinot
|
r1426 | test-%: | ||
Stephen Darnell
|
r2207 | cd tests && $(PYTHON) run-tests.py $@ | ||
Benoit Boissinot
|
r1426 | |||
Thomas Arendsen Hein
|
r1008 | doc: | ||
levon@movementarian.org
|
r1423 | $(MAKE) -C doc | ||
Thomas Arendsen Hein
|
r1008 | |||
.PHONY: all clean dist tests doc | ||||