vigiboard / Makefile @ 57f7cb3f
History | View | Annotate | Download (819 Bytes)
1 |
NAME = vigiboard |
---|---|
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 |
http_proxy='' HTTP_PROXY='' python2.5 $^ |
8 |
-[ -f $@ ] && touch $@ |
9 |
|
10 |
bin/python bin/paster: bin/buildout |
11 |
http_proxy='' HTTP_PROXY='' ./$^ |
12 |
|
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: $(NAME) |
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: |
27 |
./pylint_vigiboard.py $(NAME) |
28 |
|
29 |
tests: |
30 |
nosetests --with-coverage --cover-inclusive --cover-erase --cover-package $(NAME) tests |
31 |
|
32 |
|
33 |
.PHONY: all clean buildclean apidoc lint tests |
34 |
|