diff options
author | Florian Dold <florian@dold.me> | 2021-05-04 20:56:15 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-05-04 20:56:15 +0200 |
commit | 56a2b320b55319de9f8e6239a1ead91d9fb655c0 (patch) | |
tree | cb76e4f523184d784138a4ccc6bf8830d85d6ba9 /Makefile | |
parent | 8231924a24f9ee2594744e26670205eeabe4d0d6 (diff) | |
download | www-56a2b320b55319de9f8e6239a1ead91d9fb655c0.tar.gz www-56a2b320b55319de9f8e6239a1ead91d9fb655c0.tar.bz2 www-56a2b320b55319de9f8e6239a1ead91d9fb655c0.zip |
pass base URL to site generator
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -61,13 +61,16 @@ locale: locale-update locale-compile # Run the jinja2 templating engine to expand templates to HTML # incorporating translations. template: locale-compile - $(python) ./make_site.py + + env BASEURL=$(opt_baseurl) ./make_site.py .PHONY: run run: all $(browser) http://0.0.0.0:8000/rendered/en & $(python) -m http.server +variant = $(opt_variant) + ifndef variant $(error variant is not set) endif |