[PATCH 3/3] GNUmakefile: help: Show only variables assigned with '?='

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The others are internal stuff that most likely shouldn't be touched.

Cc: Sam James <sam@xxxxxxxxxx>
Cc: Paul Smith <psmith@xxxxxxx>
Cc: Guenther Noack <gnoack@xxxxxxxxxx>
Signed-off-by: Alejandro Colomar <alx@xxxxxxxxxx>
---
 GNUmakefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index cfc6d2409..d7dfed473 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -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 \)
-- 
2.47.2





[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux