summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@taler.net>2019-10-28 16:38:31 +0000
committerng0 <ng0@taler.net>2019-10-28 16:38:31 +0000
commit57d99f4adcc1900f6166c977facf6b8b48df470e (patch)
treecc6b56ee1635755fdce2c3e068fd2dc0f1d46e3c
parentab72a2d3883c740f0fec38aa85e65f670bac3cbb (diff)
downloadwww-57d99f4adcc1900f6166c977facf6b8b48df470e.tar.gz
www-57d99f4adcc1900f6166c977facf6b8b48df470e.tar.bz2
www-57d99f4adcc1900f6166c977facf6b8b48df470e.zip
more quiet.
-rw-r--r--Makefile11
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
+.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.