##// END OF EJS Templates
Add default make rule...
mpm@selenic.com -
r1020:f1b052db default
parent child Browse files
Show More
@@ -1,23 +1,26
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
6
7 install:
5 @echo "Read the file README for install instructions."
8 @echo "Read the file README for install instructions."
6
9
7 clean:
10 clean:
8 -$(PYTHON) setup.py clean --all # ignore errors of this command
11 -$(PYTHON) setup.py clean --all # ignore errors of this command
9 find . -name '*.py[co]' -exec rm -f '{}' ';'
12 find . -name '*.py[co]' -exec rm -f '{}' ';'
10 make -C doc clean
13 make -C doc clean
11
14
12 dist: tests doc
15 dist: tests doc
13 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
14
17
15 tests:
18 tests:
16 cd tests && ./run-tests
19 cd tests && ./run-tests
17
20
18 doc:
21 doc:
19 make -C doc
22 make -C doc
20
23
21
24
22 .PHONY: all clean dist tests doc
25 .PHONY: all clean dist tests doc
23
26
General Comments 0
You need to be logged in to leave comments. Login now