diff --git a/Makefile b/Makefile index fbb827b..d1aedde 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,18 @@ requirements = requirements.txt activate = source $(venv)/bin/activate pip = pip ansible = venv/bin/ansible-playbook +dotbot = _dotbot/bin/dotbot .PHONY: all -install: $(ansible) +install: $(ansible) submodules $(activate) && ansible-playbook --diff --verbose ./playbook.yml +.PHONY: submodules +submodules: $(dotbot) + +$(dotbot): + git submodule update --init _dotbot + .PHONY: clean clean: rm -r venv