summaryrefslogtreecommitdiff
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 d8103ce8..f20e7424 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,14 @@
# All: build HTML pages in all languages and compile the
# TypeScript logic in web-common.
+
+PYTHONPATH="$PYTHONPATH:$(pwd)"
+
all: locale template
# Extract translateable strings from jinga2 templates.
locale/messages.pot: *.j2 common/*.j2.inc
- env PYTHONPATH="$PYTHONPATH:." pybabel extract -F locale/babel.map -o locale/messages.pot .
+ pybabel extract -F locale/babel.map -o locale/messages.pot .
# Update translation (.po) files with new strings.
locale-update: locale/messages.pot