Makefile added with Version 1.2
This commit is contained in:
parent
73d29d801f
commit
745d40a7dd
10
Makefile
10
Makefile
@ -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: 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
|
status: print_head
|
||||||
giti
|
giti
|
||||||
echo "Submodules:"
|
echo "Submodules:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user