diff --git a/Makefile b/Makefile index ed23228310b..125e674ab53 100644 --- a/Makefile +++ b/Makefile @@ -55,24 +55,34 @@ help: @echo ' binaries - Build all binaries' @echo ' manpages - Build manual pages' @echo - @echo ' limactl - Build limactl, and lima' - @echo ' lima - Copy lima, and lima.bat' - @echo ' helpers - Copy nerdctl.lima, apptainer.lima, docker.lima, podman.lima, kubectl.lima' + @echo " Use 'make help-targets' to see additional targets." + +.PHONY: help-targets +help-targets: + @echo '# Targets can be categorized by their location.' + @echo + @echo 'Targets for files in _output/bin/:' + @echo '- limactl : Build limactl, and lima' + @echo '- lima : Copy lima, and lima.bat' + @echo '- helpers : Copy nerdctl.lima, apptainer.lima, docker.lima, podman.lima, and kubectl.lima' @echo - @echo ' guestagents - Build guestagents for archs enabled by CONFIG_GUESTAGENT_ARCHS_*' - @echo ' native-guestagent - Build guestagent for native arch' - @echo ' additional-guestagents - Build guestagents for archs other than native arch' + @echo 'Targets for files in _output/share/lima/:' + @echo '- guestagents : Build guestagents for archs enabled by CONFIG_GUESTAGENT_ARCHS_*' + @echo '- native-guestagent : Build guestagent for native arch' + @echo '- additional-guestagents : Build guestagents for archs other than native arch' @echo - @echo ' templates - Copy templates' - @echo ' template_experimentals - Copy experimental templates' - @echo ' default_template - Copy default.yaml template' - @echo ' create-examples-link - Create a symlink at _output/share/lima/examples pointing to _output/share/lima/templates' + @echo 'Targets for files in _output/share/lima/templates/:' + @echo '- templates : Copy templates' + @echo '- template_experimentals : Copy experimental templates to experimental/' + @echo '- default_template : Copy default.yaml template' + @echo '- create-examples-link : Create a symlink at ../examples pointing to templates' @echo - @echo ' documents - Copy documents' - @echo ' create-links-in-documents - Create symlinks in documents' + @echo 'Targets for files in _output/share/doc/lima:' + @echo '- documents : Copy documents to _output/share/doc/lima' + @echo '- create-links-in-documents : Create some symlinks pointing ../../lima/templates' @echo - @echo ' e.g. to install limactl, native guestagent, and templates:' - @echo ' make clean limactl native-guestagent templates install' + @echo '# e.g. to install limactl, helpers, native guestagent, and templates:' + @echo '# make native install' exe: _output/bin/limactl$(exe)