date.chapril.org-framadate/Makefile
Thomas Citharel a5373818fb Fix Gitlab push-trads
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-22 12:08:43 +02:00

23 lines
460 B
Makefile

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
%:
@: