[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-www] 27/42: UC: Added additional targets to have more granular bu
From: |
gnunet |
Subject: |
[taler-www] 27/42: UC: Added additional targets to have more granular build option; Better clean-up target |
Date: |
Mon, 27 Nov 2023 23:54:23 +0100 |
This is an automated email from the git hooks/post-receive script.
andreas-habegger pushed a commit to branch master
in repository www.
commit 111ff970000047c63724662c9ddb037c8aedd72a
Author: Andreas HABEGGER <andreas.habegger@bfh.ch>
AuthorDate: Sun Nov 19 22:56:24 2023 +0100
UC: Added additional targets to have more granular build option; Better
clean-up target
---
Makefile | 13 +++++++++++--
build-system/configure.py | 3 ++-
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index a19ad83..f73428b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,17 @@ include build-system/config.mk
# All: build HTML pages in all languages.
.PHONY: all
-all:
- ./inc/update-messages
+all: translate site
+
+.PHONY: site
+site:
env "BASEURL=$(opt_baseurl)" ./inc/build-site
+ @echo "Build site [DONE]"
+
+.PHONY: translate
+translate:
+ ./inc/update-messages
+ @echo "Translate site [DONE]"
.PHONY: run
run: all
@@ -27,6 +35,7 @@ install: all
.PHONY: clean
clean:
+ $(find) . -iname '*~' -exec $(rm) {} -rf \;
$(rm) -rf __pycache__ *.pyc *~ \.*~ \#*\#
$(rm) -rf rendered/
diff --git a/build-system/configure.py b/build-system/configure.py
index 8fdfaed..84e24aa 100644
--- a/build-system/configure.py
+++ b/build-system/configure.py
@@ -8,7 +8,7 @@ b.enable_prefix()
b.enable_configmk()
# Base URL override for the site. The default (empty string)
-# will fall back to the base URL defined in www.yml.
+# will fall back to the base URL defined in properties.yml.
b.use(Option("baseurl", "Override base URL that the site will run on",
default="", required=False))
b.use(PythonTool())
@@ -23,5 +23,6 @@ b.use(PosixTool("rm"))
b.use(PosixTool("sh"))
b.use(PosixTool("msgmerge"))
b.use(PosixTool("git"))
+b.use(PosixTool("find"))
b.use(BrowserTool())
b.run()
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-www] 36/42: UC: Fixed E-Mail address, (continued)
- [taler-www] 36/42: UC: Fixed E-Mail address, gnunet, 2023/11/27
- [taler-www] 19/42: UC: Clean up; Unifie strings; Update dict entries -- partners, gnunet, 2023/11/27
- [taler-www] 39/42: UC: Fixed footer contact, gnunet, 2023/11/27
- [taler-www] 05/42: Adapted footer according to Grant Agreement p.36, gnunet, 2023/11/27
- [taler-www] 24/42: UC: Shorten statement to fit better., gnunet, 2023/11/27
- [taler-www] 07/42: Added project objectives from the project proposal, gnunet, 2023/11/27
- [taler-www] 42/42: RC: First release of consortium page, ready for reviewing, gnunet, 2023/11/27
- [taler-www] 10/42: Added logos and statements from PS, TalerSystems SA, HODI, draft BFH and TUE, and placeholder for others, gnunet, 2023/11/27
- [taler-www] 02/42: Added a description of how to use Python venv, gnunet, 2023/11/27
- [taler-www] 41/42: Added events board; deliverables board, gnunet, 2023/11/27
- [taler-www] 27/42: UC: Added additional targets to have more granular build option; Better clean-up target,
gnunet <=
- [taler-www] 14/42: Fixed coordinator information; Added SBFI founding based on guidelines https://www.sbfi.admin.ch/sbfi/de/home/das-sbfi/logo.html, gnunet, 2023/11/27
- [taler-www] 40/42: Added fontawesome free, gnunet, 2023/11/27
- [taler-www] 23/42: UC: Added logos of MagNet Bank, GLS Bank; Update partner URLs, gnunet, 2023/11/27