From 57d99f4adcc1900f6166c977facf6b8b48df470e Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 28 Oct 2019 16:38:31 +0000 Subject: more quiet. --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5292f48b..309d899b 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ _DIRLIST= dist icons papers pdf presentations images .PHONY: all run locale-compile locale install clean +.OBJDIR=rendered + # 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/*.j2.inc - $(env) PYTHONPATH="." $(pybabel) extract -F locale/babel.map -o locale/messages.pot . + $(env) PYTHONPATH="." $(pybabel) -q extract -F locale/babel.map -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 .endfor 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; \ fi # Compile translation files for use. locale-compile: .for _lang in ${_LOCALELIST} - $(pybabel) compile -d locale -l ${_lang} --use-fuzzy + $(pybabel) -q compile -d locale -l ${_lang} --use-fuzzy .endfor # Process everything related to gettext translations. -- cgit v1.2.3