Makefile added with Version 1.2
This commit is contained in:
parent
64a1e13d64
commit
fa83577e4e
12
Makefile
12
Makefile
@ -1,4 +1,4 @@
|
||||
# Version 1.1 (2025-08-05)
|
||||
# Version 1.2 (2025-08-05)
|
||||
default: help
|
||||
|
||||
.ONESHELL:
|
||||
@ -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:
|
||||
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:"
|
||||
|
Loading…
x
Reference in New Issue
Block a user