]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Revert "GNUmakefile: help: Show only variables assigned with '?='"
authorAlejandro Colomar <alx@kernel.org>
Fri, 13 Jun 2025 08:03:18 +0000 (10:03 +0200)
committerAlejandro Colomar <alx@kernel.org>
Fri, 13 Jun 2025 08:03:18 +0000 (10:03 +0200)
We don't use ?= anymore (except for MANWIDTH).  We'd like to use ?:=
eventually, but for now we use := surrounded by conditionals.

This reverts commit e18c21096714545db6c4855e20c43bbb1541489c.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
GNUmakefile

index c89aae1d557b81ead07c9c16854a01815a3d89ac..9530a66f5a906f220fd5f4275f499385bae83868 100644 (file)
@@ -56,8 +56,9 @@ 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_)        | xargs grep '^[^[:space:]].*=' \)
+       $(info  $(INFO_)        | sed 's/=.*/=/' \)
+       $(info  $(INFO_)        | grep -v -e ':DEFAULT_.*=' -e ':MAKEFILE_.*INCLUDED :=';)
        $(info  )
        $(info  $(INFO_)To see a list of dependencies (package/program), run:)
        $(info  $(INFO_)        $$ find share/mk/configure/build-depends -type f \)