date.chapril.org-framadate/Makefile

23 lines
460 B
Makefile
Raw Normal View History

locales:
scripts/locales.sh
push-locales: locales
zanata-cli -q -B push --errors
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
%:
@: