Revision a17cb058
mise a jour des makefiles
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@532 b22e2e97-25c9-44ff-b637-2e5ceca36478
Makefile | ||
---|---|---|
1 | 1 |
NAME = vigiboard |
2 |
BUILDENV = ../glue |
|
2 | 3 |
|
3 |
all: bin/python
|
|
4 |
all: |
|
4 | 5 |
@echo "Template Makefile, to be filled with build and install targets" |
5 | 6 |
|
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='' ./$^ |
|
7 |
$(BUILDENV)/bin/python $(BUILDENV)/bin/paster: |
|
8 |
make -C $(BUILDENV) bin/python |
|
12 | 9 |
|
13 | 10 |
clean: |
14 | 11 |
find $(CURDIR) \( -name "*.pyc" -o -name "*~" \) -delete |
... | ... | |
24 | 21 |
--docformat=epytext $^ |
25 | 22 |
|
26 | 23 |
lint: |
27 |
./pylint_vigiboard.py $(NAME) |
|
24 |
$(BUILDENV)/bin/python ./pylint_vigiboard.py $(NAME)
|
|
28 | 25 |
|
29 | 26 |
tests: |
30 |
nosetests --with-coverage --cover-inclusive --cover-erase --cover-package $(NAME) 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
|
|
31 | 28 |
|
32 | 29 |
|
33 | 30 |
.PHONY: all clean buildclean apidoc lint tests |
Also available in: Unified diff