gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-www] 04/04: make install, uninstall: fix rules and require varian


From: gnunet
Subject: [taler-www] 04/04: make install, uninstall: fix rules and require variant to be set.
Date: Sat, 14 Dec 2019 15:51:26 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository www.

commit 3e26285cefa3a0c72d09203cc2a11ff9d5fb42a9
Author: ng0 <address@hidden>
AuthorDate: Sat Dec 14 14:50:58 2019 +0000

    make install, uninstall: fix rules and require variant to be set.
---
 GNUmakefile  | 11 ++++++++---
 configure.py |  1 +
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 030f8e5..f694f44 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 beea0c2..e68c4c4 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())

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]