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

Erik Skultety eskultet at redhat.com
Wed Feb 10 17:24:33 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>
---
 ci/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/Makefile b/ci/Makefile
index 7938e14c15..1f71701047 100644
--- a/ci/Makefile
+++ b/ci/Makefile
@@ -226,7 +226,7 @@ ci-list-images:
 	@sh list-images.sh "$(CI_IMAGE_PREFIX)" | grep cross
 	@echo
 
-ci-help:
+help:
 	@echo "Build libvirt inside containers used for CI"
 	@echo
 	@echo "Available targets:"
@@ -235,7 +235,7 @@ ci-help:
 	@echo "    ci-check@\$$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