New file |
0,0 → 1,18 |
# installation de l'espace de test |
# syntax: make <cible> |
cache_owner = telabotap |
cache_group = users |
|
test: |
@test '!' -e config.ini || { echo "config.ini exists"; exit 1; } |
@cp config.defaut.ini config.ini |
@sed -r -i -f test-conf.sed config.ini |
|
prod: |
@echo "note: le fichier de configuration distribué est déjà adapté pour la -prod" |
@test '!' -e config.ini || { echo "config.ini exists"; exit 1; } |
@cp config.defaut.ini config.ini |
|
cache: |
@cache=$(shell sed -n '/chemincache/s/.*= *//p' config.ini) |
@test -n "$(cache)" && install -d -o $(cache_owner) -g $(cache_group) $(cache) || true |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |