[libvirt PATCH v2 1/6] ci: Makefile: Specify a help target to replace ci-help

Erik Skultety eskultet at redhat.com
Tue Mar 16 17:32:55 UTC 2021


It's quite pointless to have a 'ci-help' target in the Makefile when
one needs to actually open the Makefile to go through the list of
targets to know what functionality the Makefile actually provides. It's
much more intuitive to run "make help" in that case. Therefore, add a
'help' target and replace the old 'ci-help' target with it.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
Reviewed-by: Andrea Bolognani <abologna at redhat.com>
---
 ci/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/Makefile b/ci/Makefile
index 72f5bda942..f83ecac1e5 100644
--- a/ci/Makefile
+++ b/ci/Makefile
@@ -222,7 +222,7 @@ ci-list-images:
 	@sh list-images.sh "$(CI_IMAGE_PREFIX)" | grep cross
 	@echo
 
-ci-help:
+help:
 	@echo
 	@echo
 	@echo
@@ -242,7 +242,7 @@ ci-help:
 	@echo "    ci-test@\$$IMAGE  - run a 'ninja test'"
 	@echo "    ci-shell@\$$IMAGE - run an interactive shell"
 	@echo "    ci-list-images  - list available images"
-	@echo "    ci-help         - show this help message"
+	@echo "    help            - show this help message"
 	@echo
 	@echo "Available make variables:"
 	@echo
-- 
2.29.2




More information about the libvir-list mailing list