aboutsummaryrefslogtreecommitdiff
path: root/build-system/configure.py
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-05-07 18:11:03 +0200
committerFlorian Dold <florian@dold.me>2021-05-07 18:11:03 +0200
commit970525069eda4283e31da3e1c171b69c6ea4e67c (patch)
tree444e9c42b4a8df8a069724f8b0a7b540cb40b6b3 /build-system/configure.py
parentdcedf8e2328599c41edb17aef48bdefeab2036ea (diff)
downloadwww-970525069eda4283e31da3e1c171b69c6ea4e67c.tar.gz
www-970525069eda4283e31da3e1c171b69c6ea4e67c.zip
use i18n logic from site generator
Diffstat (limited to 'build-system/configure.py')
-rw-r--r--build-system/configure.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/build-system/configure.py b/build-system/configure.py
index 60aa96cd..1ad4d1aa 100644
--- a/build-system/configure.py
+++ b/build-system/configure.py
@@ -7,9 +7,10 @@ b.enable_prefix()
7b.enable_configmk() 7b.enable_configmk()
8b.use(Option("variant", "Variant (used as output directory)")) 8b.use(Option("variant", "Variant (used as output directory)"))
9 9
10# Base URL for the site. Per default, the URL is the protocol-relative 10# Base URL override for the site.
11# root path. 11# If not set, use value from www.yml
12b.use(Option("baseurl", "Base URL that the site will run on", default="//", required=False)) 12b.use(Option("baseurl", "Override base URL that the site will run on", default="", required=False))
13
13b.add_tool(PythonTool()) 14b.add_tool(PythonTool())
14b.add_tool(PyBabelTool()) 15b.add_tool(PyBabelTool())
15b.add_tool(PosixTool("cp")) 16b.add_tool(PosixTool("cp"))