Browse Source

Makefile

master 1.0.2
cagette@ct8 4 years ago
parent
commit
c3eb0a1a80
  1. 1
      .gitignore
  2. 10
      Makefile

1
.gitignore

@ -2,7 +2,6 @@
*.php
config.xml
www/plugin/*
Makefile
tmp/*
*node_modules*
*.map

10
Makefile.dist → 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:
Loading…
Cancel
Save