From 7f77234fc1a0c47d8f1f3d0cca6063d55ea940a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 5 Feb 2018 20:27:32 +0100 Subject: [PATCH] Update Makefile --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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