- Utilize the "showconfig" top-level target.

- Pass __MAKE_CONF=/dev/null to get a pristine output.
This commit is contained in:
ru 2006-09-11 13:39:44 +00:00
parent dad5c80c83
commit 06c361717d

View File

@ -5,7 +5,7 @@
ident='$FreeBSD$'
#
# show settings | options
# usage: show { settings | options } ...
#
show()
{
@ -25,8 +25,10 @@ show()
exit 1
;;
esac
make "$@" -f ../../../share/mk/bsd.own.mk SRCCONF=/dev/null -V_ -dg1 |
grep ^MK_ |sort |
(
cd ../../..
make "$@" showconfig SRCCONF=/dev/null __MAKE_CONF=/dev/null
) |
while read var _ val; do
opt=${var#MK_}
case ${val} in