Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1071 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1071 raphael 1
# installation de l'espace de test
2
# syntax: make <cible>
3
cache_owner = telabotap
4
cache_group = users
5
 
6
test:
7
	@test '!' -e config.ini || { echo "config.ini exists"; exit 1; }
8
	@cp config.defaut.ini config.ini
9
	@sed -r -i -f test-conf.sed config.ini
10
 
11
prod:
12
	@echo "note: le fichier de configuration distribué est déjà adapté pour la -prod"
13
	@test '!' -e config.ini || { echo "config.ini exists"; exit 1; }
14
	@cp config.defaut.ini config.ini
15
 
16
cache:
17
	@cache=$(shell sed -n '/chemincache/s/.*= *//p' config.ini)
18
	@test -n "$(cache)" && install -d -o $(cache_owner) -g $(cache_group) $(cache) || true