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