Makefile added with Version 2.2
This commit is contained in:
parent
f78a4aa0c3
commit
d9f5038242
8
Makefile
8
Makefile
@ -1,4 +1,4 @@
|
|||||||
# git helper Makefile: Version 2.1 (2025-08-05)
|
# git helper Makefile: Version 2.2 (2025-08-10)
|
||||||
default: help
|
default: help
|
||||||
|
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
@ -38,9 +38,13 @@ init: print_head
|
|||||||
git submodule update
|
git submodule update
|
||||||
fi
|
fi
|
||||||
# Init submodules
|
# 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
|
$(MAKE) --no-print-directory -C $$(dirname $$subdir) init
|
||||||
done
|
done
|
||||||
|
if [[ $$SUBDIRS ]]; then
|
||||||
|
$(MAKE) print_head
|
||||||
|
fi
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user