diff options
author | Florian Dold <florian@dold.me> | 2021-05-07 13:23:13 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-05-07 13:23:13 +0200 |
commit | aaf8e383ff6017e8cb57d1070c0042b68bdc026d (patch) | |
tree | 9b5895a5a46f9e199410ab91b857f9c08c1b7da7 /Makefile | |
parent | efc06787a90652112e1446e349c72d2c30c7dd7a (diff) | |
download | www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.tar.gz www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.tar.bz2 www-aaf8e383ff6017e8cb57d1070c0042b68bdc026d.zip |
use generic site generation, use teaser helpers
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |