Makefile
31 lines
| 597 B
| text/x-makefile
|
MakefileLexer
wilde@trapperkeeper.sha-bang.de
|
r2233 | PREFIX=/usr/local | ||
export PREFIX | ||||
Thomas Arendsen Hein
|
r1008 | PYTHON=python | ||
all: | ||||
mpm@selenic.com
|
r1020 | $(PYTHON) setup.py build_ext -i | ||
wilde@trapperkeeper.sha-bang.de
|
r2233 | install: all | ||
$(PYTHON) setup.py install --home="$(PREFIX)" | ||||
cd doc && $(MAKE) $(MFLAGS) install | ||||
Thomas Arendsen Hein
|
r1008 | |||
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 | ||||