Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Blame | Last modification | View Log | RSS feed

# 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