From 284d5edc7fe76c65dfb8b8950933a6e5d1896074 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Thu, 4 Dec 2025 15:03:27 +0100 Subject: [PATCH] share/mk/: help-list-targets: Use 'make -n' This makes the command more portable to arbitrary makefiles, as one can run any target without fear of running any commands. Signed-off-by: Alejandro Colomar --- share/mk/help/list.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/help/list.mk b/share/mk/help/list.mk index 7443d1288..2439b6e58 100644 --- a/share/mk/help/list.mk +++ b/share/mk/help/list.mk @@ -16,7 +16,7 @@ include $(MAKEFILEDIR)/configure/build-depends/sed/sed.mk .PHONY: help-list-targets help-list-targets: - $(MAKE) -p nothing \ + $(MAKE) -p -n nothing \ | $(GREP) '^\.PHONY:' \ | $(TR) ' ' '\n' \ | $(GREP) -v '^\.PHONY:' \ -- 2.47.3