diff options
author | Jonathan Bauer | 2018-02-07 18:17:47 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-02-07 18:17:47 +0100 |
commit | dd8fbd7fd78c37ad2186ab289d7190935ff09e16 (patch) | |
tree | 6b65037ee78e7d60fe107ebdfedce11a6d149bed /Makefile | |
parent | Makefile: reworked builder detection a bit (diff) | |
download | packer-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-- | Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -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: |