Show More
@@ -1,26 +1,29 | |||||
1 | # This Makefile is only used by developers. |
|
1 | # This Makefile is only used by developers. | |
2 | PYTHON=python |
|
2 | PYTHON=python | |
3 |
|
3 | |||
4 | all: |
|
4 | all: | |
5 | $(PYTHON) setup.py build_ext -i |
|
5 | $(PYTHON) setup.py build_ext -i | |
6 |
|
6 | |||
7 | install: |
|
7 | install: | |
8 | @echo "Read the file README for install instructions." |
|
8 | @echo "Read the file README for install instructions." | |
9 |
|
9 | |||
10 | clean: |
|
10 | clean: | |
11 | -$(PYTHON) setup.py clean --all # ignore errors of this command |
|
11 | -$(PYTHON) setup.py clean --all # ignore errors of this command | |
12 | find . -name '*.py[co]' -exec rm -f '{}' ';' |
|
12 | find . -name '*.py[co]' -exec rm -f '{}' ';' | |
13 | $(MAKE) -C doc clean |
|
13 | $(MAKE) -C doc clean | |
14 |
|
14 | |||
15 | dist: tests doc |
|
15 | dist: tests doc | |
16 | TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest |
|
16 | TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest | |
17 |
|
17 | |||
18 | tests: |
|
18 | tests: | |
19 | cd tests && ./run-tests |
|
19 | cd tests && ./run-tests | |
20 |
|
20 | |||
|
21 | test-%: | |||
|
22 | cd tests && ./run-tests $@ | |||
|
23 | ||||
21 | doc: |
|
24 | doc: | |
22 | $(MAKE) -C doc |
|
25 | $(MAKE) -C doc | |
23 |
|
26 | |||
24 |
|
27 | |||
25 | .PHONY: all clean dist tests doc |
|
28 | .PHONY: all clean dist tests doc | |
26 |
|
29 |
General Comments 0
You need to be logged in to leave comments.
Login now