]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
GNUmakefile: help: Show only variables assigned with '?='
authorAlejandro Colomar <alx@kernel.org>
Mon, 3 Feb 2025 10:02:47 +0000 (11:02 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 10 Feb 2025 11:51:19 +0000 (12:51 +0100)
The others are internal stuff that most likely shouldn't be touched.

Cc: Sam James <sam@gentoo.org>
Cc: Paul Smith <psmith@gnu.org>
Cc: Guenther Noack <gnoack@google.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
GNUmakefile

index 05445b6ee76f43fd8ef1e89194e96979effe1e82..85ff1b77b63cbb6defbc281f2046660231e78dbe 100644 (file)
@@ -54,9 +54,8 @@ help:
        $(info  $(INFO_)To see a list of variables, run:)
        $(info  $(INFO_)        $$ find GNUmakefile share/mk/configure -type f \)
        $(info  $(INFO_)        | sort \)
-       $(info  $(INFO_)        | xargs grep '^[^[:space:]].*=' \)
-       $(info  $(INFO_)        | sed 's/=.*/=/' \)
-       $(info  $(INFO_)        | grep -v -e ':DEFAULT_.*=' -e ':MAKEFILE_.*INCLUDED :=';)
+       $(info  $(INFO_)        | xargs grep '^[^[:space:]].*?=' \)
+       $(info  $(INFO_)        | sed 's/=.*/=/';)
        $(info  )
        $(info  $(INFO_)To see a list of dependencies (package/program), run:)
        $(info  $(INFO_)        $$ find share/mk/configure/build-depends -type f \)