summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authortron <tron>2001-10-26 21:42:44 +0000
committertron <tron>2001-10-26 21:42:44 +0000
commite0125c32c937306aa91dce096981588d257dd684 (patch)
tree2defb30fea2faa907d7799cef49a7986233cc5c7 /mk/bsd.pkg.mk
parente49a485097eb6e8beca3ed25df360e7b8bdf0ed1 (diff)
downloadpkgsrc-e0125c32c937306aa91dce096981588d257dd684.tar.gz
Add a new "show-vars" target which allows to display several makefile
variables at once.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ab6aa798fab..325adf5c23f 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.835 2001/10/26 17:03:04 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.836 2001/10/26 21:42:44 tron Exp $
#
# This file is in the public domain.
#
@@ -3002,6 +3002,12 @@ show-pkgtools-version:
show-var:
@${ECHO} ${${VARNAME}:Q}
+# enhanced version of target above, to display multiple variables
+show-vars:
+.for VARNAME in ${VARNAMES}
+ @${ECHO} ${${VARNAME}:Q}
+.endfor
+
.if !target(print-build-depends-list)
print-build-depends-list:
. if defined(BUILD_DEPENDS) || defined(DEPENDS)