From 745d40a7dd3d7ff8f0c9714cdd2969b004a0b32f Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Tue, 5 Aug 2025 15:48:29 +0200 Subject: [PATCH] Makefile added with Version 1.2 --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 36834fe..929ca70 100644 --- a/Makefile +++ b/Makefile @@ -19,21 +19,21 @@ init: print_head git submodule init git submodule update fi + # Init submodules + for subdir in $$(find . -maxdepth 2 -mindepth 2 -name Makefile | sort); do + $(MAKE) --no-print-directory -C $$(dirname $$subdir) init + done # Create venv if needed if [[ -e $(VENV_FLAG) ]]; then if [[ ! -e $(VENV_FOLDER) ]]; then mkvenv fi fi + # Start my init script if needed if [[ -x $(INIT_FILE) ]]; then $(INIT_FILE) fi -initall: init - for subdir in $$(find . -maxdepth 2 -mindepth 2 -name Makefile | sort); do - $(MAKE) --no-print-directory -C $$(dirname $$subdir) init - done - status: print_head giti echo "Submodules:"