aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7e61447..f20e7424 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,14 @@
2 2
3# All: build HTML pages in all languages and compile the 3# All: build HTML pages in all languages and compile the
4# TypeScript logic in web-common. 4# TypeScript logic in web-common.
5
6PYTHONPATH="$PYTHONPATH:$(pwd)"
7
5all: locale template 8all: locale template
6 9
7# Extract translateable strings from jinga2 templates. 10# Extract translateable strings from jinga2 templates.
8locale/messages.pot: *.j2 common/*.j2.inc 11locale/messages.pot: *.j2 common/*.j2.inc
9 env PYTHONPATH="." pybabel extract -F locale/babel.map -o locale/messages.pot . 12 pybabel extract -F locale/babel.map -o locale/messages.pot .
10 13
11# Update translation (.po) files with new strings. 14# Update translation (.po) files with new strings.
12locale-update: locale/messages.pot 15locale-update: locale/messages.pot