vigiboard / Makefile @ 35cea70e
History | View | Annotate | Download (780 Bytes)
1 |
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 |
python2.5 $^ |
8 |
|
9 |
bin/python bin/paster: bin/buildout |
10 |
./$^ |
11 |
|
12 |
clean: |
13 |
find $(CURDIR) \( -name "*.pyc" -o -name "*~" \) -delete |
14 |
|
15 |
buildclean: clean |
16 |
rm -rf eggs develop-eggs parts .installed.cfg bin |
17 |
|
18 |
apidoc: doc/apidoc/index.html |
19 |
doc/apidoc/index.html: src/vigilo |
20 |
rm -rf $(CURDIR)/doc/apidoc/* |
21 |
PYTHONPATH=src epydoc -o $(dir $@) -v \ |
22 |
--name Vigilo --url http://www.projet-vigilo.org \ |
23 |
--docformat=epytext $^ |
24 |
|
25 |
lint: bin/python |
26 |
./bin/python "$$(which pylint)" --rcfile=extra/pylintrc src/vigilo |
27 |
|
28 |
tests: |
29 |
nosetests --with-coverage --cover-inclusive --cover-erase --cover-package vigilo tests |
30 |
|
31 |
|
32 |
.PHONY: all clean buildclean apidoc lint tests |
33 |
|