Project

General

Profile

Revision a17cb058

IDa17cb05880293e391f914cb4c6b731ee6f7721ad
Parent 648f598d
Child d4656036

Added by Aurelien BOMPARD over 14 years ago

mise a jour des makefiles

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@532 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

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