diff options
-rw-r--r-- | GNUmakefile | 11 | ||||
-rw-r--r-- | configure.py | 1 |
2 files changed, 9 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 030f8e5b..f694f443 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -68,13 +68,18 @@ run: all $(browser) http://0.0.0.0:8000/rendered/en & $(python) -m http.server +ifndef variant +$(error variant is not set) +endif + .PHONY: install install: all - $(mkdir) -p $(prefix)/www.taler.net/ - $(cp) -r rendered/* $(prefix)/www.taler.net/ + $(mkdir) -p $(prefix)/$(variant) + $(cp) -r rendered/* $(prefix)/$(variant)/ .PHONY: uninstall - $(rm) -rf $(prefix)/www.taler.net/ +uninstall: + $(rm) -rf $(prefix)/$(variant) .PHONY: clean clean: diff --git a/configure.py b/configure.py index beea0c2c..e68c4c47 100644 --- a/configure.py +++ b/configure.py @@ -13,6 +13,7 @@ from talerbuildconfig import * b = BuildConfig() b.enable_prefix() +b.enable_variant() b.enable_configmk() b.add_tool(PythonTool()) b.add_tool(PyBabelTool()) |