summaryrefslogtreecommitdiff
path: root/mk/bsd.options.mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-05-12 05:13:37 +0000
committerobache <obache@pkgsrc.org>2013-05-12 05:13:37 +0000
commit5c7f84f8ef546697e0b9b0c7a112cdab2b68943c (patch)
treee0b1870e380ec38f793c6bbc8bb94a478f4f4e66 /mk/bsd.options.mk
parent95626ed0aa825ca1c3ad50afbf3b6f8394a7855b (diff)
downloadpkgsrc-5c7f84f8ef546697e0b9b0c7a112cdab2b68943c.tar.gz
Move show-depends-options, it is pkgformat independ target.
Diffstat (limited to 'mk/bsd.options.mk')
-rw-r--r--mk/bsd.options.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk
index 248364a2b78..3e36fb2fe1b 100644
--- a/mk/bsd.options.mk
+++ b/mk/bsd.options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.68 2013/05/11 18:48:52 riastradh Exp $
+# $NetBSD: bsd.options.mk,v 1.69 2013/05/12 05:13:38 obache Exp $
#
# This Makefile fragment provides boilerplate code for standard naming
# conventions for handling per-package build options.
@@ -442,4 +442,14 @@ supported-options-message:
. endif
.endif
+.PHONY: show-depends-options
+show-depends-options:
+ ${RUN} \
+ ${_DEPENDS_WALK_CMD} ${PKGPATH} | \
+ while read dir; do \
+ ${ECHO} "===> Options for $${dir}" && \
+ cd ${.CURDIR}/../../$$dir && \
+ ${RECURSIVE_MAKE} ${MAKEFLAGS} show-options; \
+ done
+
.endif # BSD_OPTIONS_MK