From ad228e3c3b6ac22a23998366f31e1842fab8a26c Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Thu, 21 Mar 2019 11:27:49 +0000 Subject: [PATCH] build: Add missing targets to show-usage Add a number of useful build and install targets to the `show-usage` target which are visible when the user runs `make help`. Signed-off-by: James O. D. Hunt --- Makefile | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 40138c070..d690b5598 100644 --- a/Makefile +++ b/Makefile @@ -571,15 +571,21 @@ show-usage: show-header @printf "\n" @printf "• Additional targets:\n" @printf "\n" - @printf "\tbuild : standard build.\n" - @printf "\tcheck : run tests.\n" - @printf "\tclean : remove built files.\n" - @printf "\tcoverage : run coverage tests.\n" - @printf "\tdefault : same as 'make build' (or just 'make').\n" - @printf "\tgenerate-config : create configuration file.\n" - @printf "\tinstall : install files.\n" - @printf "\tshow-arches : show supported architectures (ARCH variable values).\n" - @printf "\tshow-summary : show install locations.\n" + @printf "\tbuild : standard build (build everything).\n" + @printf "\tcheck : run tests.\n" + @printf "\tclean : remove built files.\n" + @printf "\tcontainerd-shim-v2 : only build containerd shim v2.\n" + @printf "\tcoverage : run coverage tests.\n" + @printf "\tdefault : same as 'make build' (or just 'make').\n" + @printf "\tgenerate-config : create configuration file.\n" + @printf "\tinstall : install everything.\n" + @printf "\tinstall-containerd-shim-v2 : only install containerd shim v2 files.\n" + @printf "\tinstall-netmon : only install netmon files.\n" + @printf "\tinstall-runtime : only install runtime files.\n" + @printf "\tnetmon : only build netmon.\n" + @printf "\truntime : only build runtime.\n" + @printf "\tshow-arches : show supported architectures (ARCH variable values).\n" + @printf "\tshow-summary : show install locations.\n" @printf "\n" handle_help: show-usage show-summary show-variables show-footer