summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Bauer2018-02-07 18:17:47 +0100
committerJonathan Bauer2018-02-07 18:17:47 +0100
commitdd8fbd7fd78c37ad2186ab289d7190935ff09e16 (patch)
tree6b65037ee78e7d60fe107ebdfedce11a6d149bed /Makefile
parentMakefile: reworked builder detection a bit (diff)
downloadpacker-templates-dd8fbd7fd78c37ad2186ab289d7190935ff09e16.tar.gz
packer-templates-dd8fbd7fd78c37ad2186ab289d7190935ff09e16.tar.xz
packer-templates-dd8fbd7fd78c37ad2186ab289d7190935ff09e16.zip
Makefile: cleaned up help a bit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 2e8c054..2642cdd 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,8 @@ ifeq ($(shell which vmplayer 2>&1 > /dev/null && echo $$?), 0)
endif
ifndef BUILDER
$(info # BUILDER not set, using default builder: $(DEFAULT_BUILDER))
+ $(info # Detected builders: $(AVAILABLE_BUILDERS))
+ $(info )
BUILDER := $(DEFAULT_BUILDER)
endif
@@ -113,20 +115,16 @@ $(BOOTTARGETS):
@echo "** Success **"
help:
- @echo "General syntax: <template>/<flavor>[/boot]"
+ @printf "Usage:\n\tmake <template>/<flavor>[/boot]\n"
@echo
- @echo "Detected builders:"
- @(for B in $(AVAILABLE_BUILDERS); do printf "\t%s\n" "$$B"; done)
- @echo
- @echo "Base images:"
+ @echo "Base images targets:"
@(for T in $(BASETARGETS); do printf "\t%s\n" "$$T"; done)
@echo
- @echo "Provisioning: "
+ @echo "Provisioning images targets: "
@(for P in $(PROVTARGETS); do printf "\t%s\n" "$$P"; done)
@echo
- @echo "Generate boot files:"
- @(for N in $(BOOTTARGETS); do printf "\t%s\n" "$$N"; done)
- @echo
+ @echo "Generate boot files targets:"
+ @printf "\t<provisioning_target>/boot\n"
# The builds are directories named after the template name
clean: