From 111ff970000047c63724662c9ddb037c8aedd72a Mon Sep 17 00:00:00 2001 From: Andreas HABEGGER Date: Sun, 19 Nov 2023 22:56:24 +0100 Subject: UC: Added additional targets to have more granular build option; Better clean-up target --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Makefile') 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/ -- cgit v1.2.3