vigiboard / Makefile @ a17cb058
History | View | Annotate | Download (860 Bytes)
1 |
NAME = vigiboard |
---|---|
2 |
BUILDENV = ../glue |
3 |
|
4 |
all: |
5 |
@echo "Template Makefile, to be filled with build and install targets" |
6 |
|
7 |
$(BUILDENV)/bin/python $(BUILDENV)/bin/paster: |
8 |
make -C $(BUILDENV) bin/python |
9 |
|
10 |
clean: |
11 |
find $(CURDIR) \( -name "*.pyc" -o -name "*~" \) -delete |
12 |
|
13 |
buildclean: clean |
14 |
rm -rf eggs develop-eggs parts .installed.cfg bin |
15 |
|
16 |
apidoc: doc/apidoc/index.html |
17 |
doc/apidoc/index.html: $(NAME) |
18 |
rm -rf $(CURDIR)/doc/apidoc/* |
19 |
PYTHONPATH=src epydoc -o $(dir $@) -v \ |
20 |
--name Vigilo --url http://www.projet-vigilo.org \ |
21 |
--docformat=epytext $^ |
22 |
|
23 |
lint: |
24 |
$(BUILDENV)/bin/python ./pylint_vigiboard.py $(NAME) |
25 |
|
26 |
tests: |
27 |
PYTHONPATH=$(BUILDENV) VIGILO_SETTINGS_MODULE=settings_tests $(BUILDENV)/bin/python "$$(which nosetests)" --with-coverage --cover-inclusive --cover-erase --cover-package $(NAME) $(NAME)/tests |
28 |
|
29 |
|
30 |
.PHONY: all clean buildclean apidoc lint tests |
31 |
|