summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bf6d1271..021d582c 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) ./make_site.py
+ env BASEURL=$(opt_baseurl) ./inc/make_site.py
# Extract translateable strings from jinja2 templates.
locale/messages.pot: template/*.j2 template/news/*.j2 common/*.j2 common/*.j2.inc
- $(python) inc/mybabel.py $(pybabel) extract -F locale/babel.map -o locale/messages.pot .
+ env PYTHONPATH=$$PWD/inc:$$PYTHONPATH $(pybabel) extract -F locale/babel.map -o locale/messages.pot .
# Update translation (.po) files with new strings.
.PHONY: locale-update