vigiboard / Makefile @ d904968a
History | View | Annotate | Download (832 Bytes)
1 | ed374445 | Aurelien BOMPARD | NAME = |
---|---|---|---|
2 | |||
3 | all: bin/python |
||
4 | @echo "Template Makefile, to be filled with build and install targets" |
||
5 | |||
6 | bin/buildout: buildenv/bootstrap.py |
||
7 | d904968a | Aurelien BOMPARD | http_proxy='' python2.5 $^ |
8 | -[ -f $@ ] && touch $@ |
||
9 | ed374445 | Aurelien BOMPARD | |
10 | bin/python bin/paster: bin/buildout |
||
11 | d904968a | Aurelien BOMPARD | http_proxy='' ./$^ |
12 | ed374445 | Aurelien BOMPARD | |
13 | clean: |
||
14 | find $(CURDIR) \( -name "*.pyc" -o -name "*~" \) -delete |
||
15 | |||
16 | buildclean: clean |
||
17 | rm -rf eggs develop-eggs parts .installed.cfg bin |
||
18 | |||
19 | apidoc: doc/apidoc/index.html |
||
20 | doc/apidoc/index.html: src/vigilo |
||
21 | rm -rf $(CURDIR)/doc/apidoc/* |
||
22 | PYTHONPATH=src epydoc -o $(dir $@) -v \ |
||
23 | --name Vigilo --url http://www.projet-vigilo.org \ |
||
24 | --docformat=epytext $^ |
||
25 | |||
26 | lint: bin/python |
||
27 | ./bin/python "$$(which pylint)" --rcfile=extra/pylintrc src/vigilo |
||
28 | |||
29 | tests: |
||
30 | nosetests --with-coverage --cover-inclusive --cover-erase --cover-package vigilo tests |
||
31 | |||
32 | |||
33 | .PHONY: all clean buildclean apidoc lint tests |