From: Prarit Bhargava <prarit@xxxxxxxxxx> Makefile: Do not output LOCALVERSION message for help commands The help commands output a DISTLOCALVERSION is ".test". message which is unnecessary for help. Do not output the LOCALVERSION message for help commands. Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx> diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -103,6 +103,7 @@ ifndef RHJOBS fi) endif +ifeq ($(filter dist-full-help dist-help-% ,$(MAKECMDGOALS)),) LOCVERFILE:=../localversion # create an empty localversion file if you don't want a local buildid ifneq ($(wildcard $(LOCVERFILE)),) @@ -118,6 +119,7 @@ else $(info DISTLOCALVERSION is "$(DISTLOCALVERSION)".) endif endif +endif # options for process_configs.sh script ifdef NO_CONFIGCHECKS @@ -1016,4 +1018,6 @@ dist-full-help: @echo ' specfile template.' @echo '' +dist-prarit: + @echo "hello world" export -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3585 -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue