Project

General

Profile

Revision d7540235

IDd754023520b36010a9f8ed7787bef7eceb5beb69
Parent 6c664a14
Child 348eec2c

Added by Aurelien BOMPARD over 14 years ago

nouvelle config

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

View differences:

Makefile
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
EPYDOC := $(shell [ -f $(BUILDENV)/bin/epydoc ] && echo $(BUILDENV)/bin/epydoc || echo $(PYTHON) /usr/bin/epydoc)
19
apidoc: doc/apidoc/index.html
20
doc/apidoc/index.html: $(PYTHON) $(NAME)
21
	rm -rf $(CURDIR)/doc/apidoc/*
22
	VIGILO_SETTINGS=$(BUILDENV)/settings.py PYTHONPATH=src \
23
		$(EPYDOC) -o $(dir $@) -v \
24
		   --name Vigilo --url http://www.projet-vigilo.org \
25
		   --docformat=epytext $(NAME)
26

  
27
lint: $(PYTHON)
28
	$(PYTHON) ./pylint_vigiboard.py $(NAME)
29

  
30
tests: $(PYTHON)
31
	VIGILO_SETTINGS=$(BUILDENV)/settings.py \
32
		$(BUILDENV)/bin/runtests-$(NAME)
33

  
34

  
35
.PHONY: all clean buildclean apidoc lint tests
1
NAME := vigiboard
2
include ../glue/Makefile.common
3
all: build
4
MODULE := $(NAME)
5
CODEPATH := $(NAME)
6
lint: lint_pylint
7
tests: tests_runtests
36 8

  

Also available in: Unified diff