summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 49739525..ba56af56 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ all: locale template
# Extract translateable strings from jinja2 templates.
locale/messages.pot: template/*.j2 common/*.j2 common/*.j2.inc
- $(pybabel) extract -F locale/babel.map -o locale/messages.pot .
+ PYTHONPATH=".:./inc" $(pybabel) extract -F locale/babel.map -o locale/messages.pot .
# Update translation (.po) files with new strings.
.PHONY: locale-update