From 931c7b0fb0d0fc4df5b85b85939558c3539da4ce Mon Sep 17 00:00:00 2001 From: Manuel Messner Date: Mon, 12 Feb 2018 16:02:52 +0100 Subject: Makefile: move help target to eof --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b25f751..fa9e1b2 100644 --- a/Makefile +++ b/Makefile @@ -112,6 +112,10 @@ $(BOOTTARGETS): $(BUILD_DIR)/$(ANSIBLE_DIR)/run-playbook-only.json @mv $(BUILD_DIR)/$(ANSIBLE_DIR)/boot_files $(BUILD_DIR)/build/boot +# The builds are directories named after the template name +clean: + -$(foreach build_dir,$(TEMPLATES),test -d $(build_dir) && rm -rf $(build_dir);) + help: @printf "Usage:\n\tmake