|
|
@ -37,6 +37,7 @@ install_dev: |
|
|
|
@make css |
|
|
|
@make compile |
|
|
|
@make frontend |
|
|
|
@make templates |
|
|
|
@echo "Well, it looks like everything is fine : librairies are installed, backend and frontend has been compiled !" |
|
|
|
|
|
|
|
|
|
|
@ -69,11 +70,9 @@ i18n: |
|
|
|
|
|
|
|
#compile templates in each language, required for production env.
|
|
|
|
templates: |
|
|
|
haxe cagette.hxml -D i18n_generation |
|
|
|
mkdir -p lang/master/tmp |
|
|
|
haxe cagette.hxml -D i18n_generation |
|
|
|
@make LANG=fr ctemplates |
|
|
|
#@make LANG=en ctemplates |
|
|
|
#@make LANG=de ctemplates |
|
|
|
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo |
|
|
|
chown www-data:www-data -R www |
|
|
|
|
|
|
|