Makefile added with Version 1.2

This commit is contained in:
Dirk Alders 2025-08-05 15:49:16 +02:00
parent dd45f657ae
commit c5f7e2910e
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# Version 1.1 (2025-08-05) # Version 1.2 (2025-08-05)
default: help default: help
.ONESHELL: .ONESHELL:
@ -19,21 +19,21 @@ init: print_head
git submodule init git submodule init
git submodule update git submodule update
fi 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 # Create venv if needed
if [[ -e $(VENV_FLAG) ]]; then if [[ -e $(VENV_FLAG) ]]; then
if [[ ! -e $(VENV_FOLDER) ]]; then if [[ ! -e $(VENV_FOLDER) ]]; then
mkvenv mkvenv
fi fi
fi fi
# Start my init script if needed
if [[ -x $(INIT_FILE) ]]; then if [[ -x $(INIT_FILE) ]]; then
$(INIT_FILE) $(INIT_FILE)
fi fi
initall:
for subdir in $$(find . -maxdepth 2 -mindepth 2 -name Makefile | sort); do
$(MAKE) --no-print-directory -C $$(dirname $$subdir) init
done
status: print_head status: print_head
giti giti
echo "Submodules:" echo "Submodules:"

2
pylibs

@ -1 +1 @@
Subproject commit b38e3fd01559286eb5241d952ba9035f09955957 Subproject commit 745d40a7dd3d7ff8f0c9714cdd2969b004a0b32f