summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-09-11 13:39:44 +0000
committerru <ru@FreeBSD.org>2006-09-11 13:39:44 +0000
commit06c361717d61717201710cc1509a753edc82c304 (patch)
treed58e3e5e060b6a1411255c5a4caf0b1a243833d7 /tools/build
parentdad5c80c83a6f01e3c0e5a22c65cad493917af9c (diff)
downloadFreeBSD-src-06c361717d61717201710cc1509a753edc82c304.zip
FreeBSD-src-06c361717d61717201710cc1509a753edc82c304.tar.gz
- Utilize the "showconfig" top-level target.
- Pass __MAKE_CONF=/dev/null to get a pristine output.
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/options/makeman8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/build/options/makeman b/tools/build/options/makeman
index f75a4ab..9a8d5ff 100644
--- a/tools/build/options/makeman
+++ b/tools/build/options/makeman
@@ -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
OpenPOWER on IntegriCloud