]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
GNUmakefile: help: Hide variables not meant for users
authorAlejandro Colomar <alx@kernel.org>
Tue, 19 Mar 2024 19:47:15 +0000 (20:47 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 19 Mar 2024 20:54:40 +0000 (21:54 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
GNUmakefile

index 7baa19bbc604496691766f6a5ae0b7d22dd8c32a..bebec00bad4f4685aa461d8a9709d9c4c14b36e9 100644 (file)
@@ -50,8 +50,8 @@ help:
        $(info  $(INFO_)        $$ find GNUmakefile share/mk/configure -type f \)
        $(info  $(INFO_)        | sort \)
        $(info  $(INFO_)        | xargs grep '^[^[:space:]].*=' \)
-       $(info  $(INFO_)        | sed 's/=.*/=/';)
-       $(info  )
+       $(info  $(INFO_)        | sed 's/=.*/=/' \)
+       $(info  $(INFO_)        | grep -v -e ':DEFAULT_.*=' -e ':MAKEFILE_.*INCLUDED :=';)
        $(info  )
        $(info  $(INFO_)To see a list of dependencies, run:)
        $(info  $(INFO_)        $$ find share/mk/configure/build-depends -type f \)