From 7b63ded57fa8534c0d6616a87062a32b8380da91 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sun, 10 Aug 2025 19:04:29 +0200 Subject: [PATCH] Makefile added with Version 2.2 --- Makefile | 11 +++++++++-- patt | 2 +- piki | 2 +- pygal | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 2644b7d..a2417f5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# git helper Makefile: Version 2.0 (2025-08-05) +# git helper Makefile: Version 2.2 (2025-08-10) default: help .ONESHELL: @@ -33,20 +33,27 @@ localinit: init: print_head # Init git repo if [[ -e $(GIT_FLAG) ]]; then + echo -e "\033[1;33mInitialising git submodules...\e[0m" git submodule init git submodule update fi # Init submodules - for subdir in $$(find . -maxdepth 2 -mindepth 2 -name Makefile | sort); do + SUBDIRS=$$(find . -maxdepth 2 -mindepth 2 -name Makefile | sort) + for subdir in $$SUBDIRS; do $(MAKE) --no-print-directory -C $$(dirname $$subdir) init done + if [[ $$SUBDIRS ]]; then + $(MAKE) print_head + fi # Create venv if needed if [[ -e $(VENV_FLAG) ]]; then if [[ ! -e $(VENV_FOLDER) ]]; then + echo -e "\033[1;33mCreating virtual env...\e[0m" mkvenv fi fi # Start local init + echo -e "\033[1;33mDoing localinit...\e[0m" $(MAKE) localinit update_submodules: diff --git a/patt b/patt index 36a256c..20b07f9 160000 --- a/patt +++ b/patt @@ -1 +1 @@ -Subproject commit 36a256c2b82c545b5c9adb93925d5fc402c83db9 +Subproject commit 20b07f9b1a05c7557f0caa0fe9cc4c92bfbb95d3 diff --git a/piki b/piki index 887f3da..f892fdb 160000 --- a/piki +++ b/piki @@ -1 +1 @@ -Subproject commit 887f3da39e0fe02b21d9f2b9a74a841098c177f8 +Subproject commit f892fdbd69411d4bf79963156894351e2b8396c3 diff --git a/pygal b/pygal index 9edd50a..5cb55ad 160000 --- a/pygal +++ b/pygal @@ -1 +1 @@ -Subproject commit 9edd50ab85be3ed2385ac0950d5f3b3221ab385e +Subproject commit 5cb55ad76169d2cefe6897fee67c1978f127e91d