path: root/Makefile
diff options
Diffstat (limited to 'Makefile')
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bf6d127..021d582 100644
--- a/Makefile
+++ b/Makefile
@@ -8,11 +8,11 @@ LANGUAGES="en ar zh_Hant fr de hi it ja ko pt pt_BR ru es sv tr"
# All: build HTML pages in all languages and compile the
.PHONY: all
all: locale template
- env BASEURL=$(opt_baseurl) ./
+ env BASEURL=$(opt_baseurl) ./inc/
# Extract translateable strings from jinja2 templates.
locale/messages.pot: template/*.j2 template/news/*.j2 common/*.j2 common/*
- $(python) inc/ $(pybabel) extract -F locale/ -o locale/messages.pot .
+ env PYTHONPATH=$$PWD/inc:$$PYTHONPATH $(pybabel) extract -F locale/ -o locale/messages.pot .
# Update translation (.po) files with new strings.
.PHONY: locale-update