summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas HABEGGER <andreas.habegger@bfh.ch>2023-11-19 22:56:24 +0100
committerAndreas HABEGGER <andreas.habegger@bfh.ch>2023-11-20 13:45:30 +0100
commit111ff970000047c63724662c9ddb037c8aedd72a (patch)
treef149221f0c3067a6585f9ec37b013e1b69568065 /Makefile
parent2440f7e2dcc26d3569b9d8ad9fd3d3f66f987e86 (diff)
downloadwww-111ff970000047c63724662c9ddb037c8aedd72a.tar.gz
www-111ff970000047c63724662c9ddb037c8aedd72a.tar.bz2
www-111ff970000047c63724662c9ddb037c8aedd72a.zip
UC: Added additional targets to have more granular build option; Better clean-up targetdev/andreas-habegger/fb-makefileImprovements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a19ad83a..f73428bd 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/