Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigiboard / Makefile @ a17cb058

History | View | Annotate | Download (860 Bytes)

1 7b81cb66 Aurelien BOMPARD
NAME = vigiboard
2 a17cb058 Aurelien BOMPARD
BUILDENV = ../glue
3 ed374445 Aurelien BOMPARD
4 a17cb058 Aurelien BOMPARD
all:
5 ed374445 Aurelien BOMPARD
	@echo "Template Makefile, to be filled with build and install targets"
6
7 a17cb058 Aurelien BOMPARD
$(BUILDENV)/bin/python $(BUILDENV)/bin/paster:
8
	make -C $(BUILDENV) bin/python
9 ed374445 Aurelien BOMPARD
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 7b81cb66 Aurelien BOMPARD
doc/apidoc/index.html: $(NAME)
18 ed374445 Aurelien BOMPARD
	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 7b81cb66 Aurelien BOMPARD
lint:
24 a17cb058 Aurelien BOMPARD
	$(BUILDENV)/bin/python ./pylint_vigiboard.py $(NAME)
25 ed374445 Aurelien BOMPARD
26
tests:
27 a17cb058 Aurelien BOMPARD
	PYTHONPATH=$(BUILDENV) VIGILO_SETTINGS_MODULE=settings_tests $(BUILDENV)/bin/python "$$(which nosetests)" --with-coverage --cover-inclusive --cover-erase --cover-package $(NAME) $(NAME)/tests
28 ed374445 Aurelien BOMPARD
29
30
.PHONY: all clean buildclean apidoc lint tests