From c3eb0a1a80b339db8a5ffd111d320b95d51ec143 Mon Sep 17 00:00:00 2001 From: "cagette@ct8" Date: Mon, 28 Sep 2020 17:13:40 +0000 Subject: [PATCH] Makefile --- .gitignore | 1 - Makefile.dist => Makefile | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) rename Makefile.dist => Makefile (88%) diff --git a/.gitignore b/.gitignore index 2e05db2..acd184c 100755 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ *.php config.xml www/plugin/* -Makefile tmp/* *node_modules* *.map diff --git a/Makefile.dist b/Makefile similarity index 88% rename from Makefile.dist rename to Makefile index 9a121c3..146ba2a 100644 --- a/Makefile.dist +++ b/Makefile @@ -15,7 +15,7 @@ install: #setup dev environnement from source install_dev: #set config file to debug=1 - @sed -e 's?debug=.*?debug="1"?g' --in-place config.xml + #@sed -e 's?debug=.*?debug="1"?g' --in-place config.xml #install haxe dependencies in .haxelib haxelib newrepo haxelib -always install cagette.hxml @@ -71,11 +71,13 @@ i18n: templates: haxe cagette.hxml -D i18n_generation @make LANG=fr ctemplates - @make LANG=en ctemplates - @make LANG=de ctemplates + #@make LANG=en ctemplates + #@make LANG=de ctemplates + msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo ctemplates: - (cd lang/$(LANG)/tpl; temploc2 -macros macros.mtt -output ../tmp/ *.mtt */*.mtt */*/*.mtt */*/*/*.mtt */*/*/*/*.mtt) +# (cd lang/$(LANG)/tpl; temploc2 -macros macros.mtt -output ../tmp/ *.mtt */*.mtt */*/*.mtt */*/*/*.mtt */*/*/*/*.mtt) + (cd lang/$(LANG)/tpl; temploc2 -macros macros.mtt -output ../tmp/ *.mtt */*.mtt */*/*.mtt) #Compile and run unit tests tests: