path: root/Makefile
diff options
Diffstat (limited to 'Makefile')
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5292f48..309d899 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,8 @@ _DIRLIST= dist icons papers pdf presentations images
.PHONY: all run locale-compile locale install clean
# Work this into an mk file
# All: build HTML pages in all languages and compile the
@@ -33,21 +35,22 @@ all: locale template
# Extract translateable strings from jinja2 templates.
locale/messages.pot: template/*.j2 common/*.j2 common/*
- $(env) PYTHONPATH="." $(pybabel) extract -F locale/ -o locale/messages.pot .
+ $(env) PYTHONPATH="." $(pybabel) -q extract -F locale/ -o locale/messages.pot .
# Update translation (.po) files with new strings.
locale-update: locale/messages.pot
.for _lang in ${_LOCALELIST}
- $(msgmerge) -U -m --previous locale/${_lang}/LC_MESSAGES/messages.po locale/messages.pot
+ $(msgmerge) -q -U -m --previous locale/${_lang}/LC_MESSAGES/messages.po locale/messages.pot
if $(grep) -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then \
- $(echo) -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; \
+ $(echo) -e "\nERROR: Conflicts encountered in PO files.\n"; \
+ exit 1; \
# Compile translation files for use.
.for _lang in ${_LOCALELIST}
- $(pybabel) compile -d locale -l ${_lang} --use-fuzzy
+ $(pybabel) -q compile -d locale -l ${_lang} --use-fuzzy
# Process everything related to gettext translations.