From 56a2b320b55319de9f8e6239a1ead91d9fb655c0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 4 May 2021 20:56:15 +0200 Subject: pass base URL to site generator --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 13803b40..034d0db5 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3