date.chapril.org-framadate/Makefile
Thomas Citharel 4b8fe75f95
Secure push-trad-to-zanata
Test json files with python module to make sure they're valid before converting them to po

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Remove &&
2018-05-28 10:03:05 +02:00

23 lines
451 B
Makefile

locales:
scripts/locales.sh
push-locales: locales
zanata-cli -q -B push
pull-locales:
zanata-cli -q -B pull --min-doc-percent 50
scripts/po2json.sh
stats-locales:
zanata-cli -q stats
push-trad-to-zanata:
scripts/push-trad-to-zanata.sh $(filter-out $@,$(MAKECMDGOALS))
add-key-locales:
scripts/locale-add-key.pl "$(subst ",\",$(filter-out $@,$(MAKECMDGOALS)))"
# empty targets to be able to use MAKECMDGOALS as arguments to scripts
%:
@: