From 4a052ea7071d0791df417ec39060ac9735fdbe8b Mon Sep 17 00:00:00 2001 From: pvincent Date: Mon, 22 Aug 2022 10:48:41 +0400 Subject: [PATCH] no more config.xml first time --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 63bb03a..e37eeb8 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,9 @@ ENV?="dev" install: #copy config file from template first time only - @if [ ! -f config.xml ]; then \ - cp config.xml.dist config.xml; \ - fi + # @if [ ! -f config.xml ]; then \ + # cp config.xml.dist config.xml; \ + # fi @if [ $(ENV) = "dev" ]; then \ make install_dev; \ @@ -20,7 +20,7 @@ install_dev: #set config file to debug=1 #@sed -e 's?debug=.*?debug="1"?g' --in-place config.xml #install haxe dependencies in .haxelib - haxelib newrepo + haxelib newrepo haxelib -always install cagette.hxml haxelib -always install cagetteJs.hxml #template tools @@ -47,7 +47,7 @@ compile: echo "compile CagettePĂ©i core"; \ haxe cagette.hxml; \ fi - + #compile SASS files to CSS css: @@ -64,15 +64,15 @@ frontend: chown www-data:www-data tmp #update POT file from source -i18n: +i18n: haxe potGeneration.hxml #compile templates in each language, required for production env. -templates: +templates: mkdir -p lang/master/tmp haxe cagette.hxml -D i18n_generation @make LANG=fr ctemplates - msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo + msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo chown www-data:www-data -R www chown www-data:www-data -R lang/fr