Permalink
Browse files

Move show-depends-options target from bsd.options.mk to flavor/pkg/ut…

…ility.mk

to work with option-less packages.
  • Loading branch information...
1 parent 1b8237a commit ff91c5b053397127e785943c9860f6266b6a6c24 obache committed Feb 18, 2008
Showing with 12 additions and 12 deletions.
  1. +1 −11 mk/bsd.options.mk
  2. +11 −1 mk/flavor/pkg/utility.mk
View
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.66 2008/02/18 12:38:35 obache Exp $
+# $NetBSD: bsd.options.mk,v 1.67 2008/02/18 14:30:40 obache Exp $
#
# This Makefile fragment provides boilerplate code for standard naming
# conventions for handling per-package build options.
@@ -438,14 +438,4 @@ 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
View
@@ -1,4 +1,4 @@
-# $NetBSD: utility.mk,v 1.9 2007/11/19 14:59:40 tron Exp $
+# $NetBSD: utility.mk,v 1.10 2008/02/18 14:30:40 obache Exp $
# The 'info' target can be used to display information about a package.
.PHONY: info
@@ -78,6 +78,16 @@ show-pkgsrc-dir: _about-to-be-removed
fi
.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
+
# Short aliases
.PHONY: sid
sid: show-installed-depends

0 comments on commit ff91c5b

Please sign in to comment.