summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Messner2018-02-12 16:02:52 +0100
committerManuel Messner2018-02-12 16:02:52 +0100
commit931c7b0fb0d0fc4df5b85b85939558c3539da4ce (patch)
treefe9036f1f02fbabc35dfd11b57ac892ea169d1d9 /Makefile
parentMakefile: remove all target (diff)
downloadpacker-templates-931c7b0fb0d0fc4df5b85b85939558c3539da4ce.tar.gz
packer-templates-931c7b0fb0d0fc4df5b85b85939558c3539da4ce.tar.xz
packer-templates-931c7b0fb0d0fc4df5b85b85939558c3539da4ce.zip
Makefile: move help target to eof
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
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 <template>/<flavor>[/boot]\n"
@echo
@@ -123,8 +127,3 @@ help:
@echo
@echo "Generate boot files targets:"
@printf "\t<{base,provisioning}_target>/boot\n"
-
-# The builds are directories named after the template name
-clean:
- -$(foreach build_dir,$(TEMPLATES),test -d $(build_dir) && rm -rf $(build_dir);)
-