summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-07 13:23:13 +0200
committerFlorian Dold <florian@dold.me>2021-05-07 13:23:13 +0200
commitaaf8e383ff6017e8cb57d1070c0042b68bdc026d (patch)
tree9b5895a5a46f9e199410ab91b857f9c08c1b7da7 /Makefile
parentefc06787a90652112e1446e349c72d2c30c7dd7a (diff)
downloadwww-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.tar.gz
www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.tar.bz2
www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.zip
use generic site generation, use teaser helpers
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