From 5c7f84f8ef546697e0b9b0c7a112cdab2b68943c Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 12 May 2013 05:13:37 +0000 Subject: Move show-depends-options, it is pkgformat independ target. --- mk/bsd.options.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'mk/bsd.options.mk') 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 -- cgit v1.2.3