Subversion Repositories eFlore/Applications.coel

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1658 → Rev 1659

/trunk/jrest/Makefile
New file
0,0 → 1,14
# installation de l'espace de test
# syntax:
# make <cible> [annu_u=<bdd_utilisateur> [annu_p=<bdd_mot_de_passe>]]
all: test
 
test:
@test '!' -e jrest.ini.php || { echo "jrest.ini.php exists"; exit 1; }
@cp jrest.ini.php.defaut jrest.ini.php
@sed -r -i -f test-conf.sed jrest.ini.php
@test -n "$(annu_u)" -o -n "$(annu_p)" && make bddconf || true
 
bddconf:
@test -n "$(annu_u)" && sed -r -i "/^loginAnnuaire/s/= .*/= \"$(annu_u)\"/" jrest.ini.php || true
@test -n "$(annu_p)" && sed -r -i "/^mdpAnnuaire/s/= .*/= \"$(annu_p)\"/" jrest.ini.php || true
Property changes:
Added: svn:eol-style
+native
\ No newline at end of property