From aaf8e383ff6017e8cb57d1070c0042b68bdc026d Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 7 May 2021 13:23:13 +0200 Subject: use generic site generation, use teaser helpers --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3