Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigiboard / Makefile @ a2d3e48e

History | View | Annotate | Download (811 Bytes)

1
NAME = vigiboard
2
BUILDENV = ../glue
3
PYTHON = $(BUILDENV)/bin/python
4

    
5
all:
6
	@echo "Template Makefile, to be filled with build and install targets"
7

    
8
$(PYTHON):
9
	make -C $(BUILDENV) bin/python
10

    
11
clean:
12
	find $(CURDIR) \( -name "*.pyc" -o -name "*~" \) -delete
13
	rm -rf data # temporary: sessions
14

    
15
buildclean: clean
16
	rm -rf eggs develop-eggs parts .installed.cfg bin
17

    
18
apidoc: doc/apidoc/index.html
19
doc/apidoc/index.html: $(PYTHON) $(NAME)
20
	rm -rf $(CURDIR)/doc/apidoc/*
21
	PYTHONPATH=$(BUILDENV):src $(PYTHON) "$$(which epydoc)" -o $(dir $@) -v \
22
		   --name Vigilo --url http://www.projet-vigilo.org \
23
		   --docformat=epytext $(NAME)
24

    
25
lint: $(PYTHON)
26
	$(PYTHON) ./pylint_vigiboard.py $(NAME)
27

    
28
tests: $(PYTHON)
29
	PYTHONPATH=$(BUILDENV) $(BUILDENV)/bin/runtests-$(NAME)
30

    
31

    
32
.PHONY: all clean buildclean apidoc lint tests
33