summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-12-06 01:22:54 +0000
committerhubertf <hubertf>1998-12-06 01:22:54 +0000
commite884794d4bac278147c5012932400ad9fd586ae8 (patch)
treeb3040186a5c3891c3dcb6b0f13fcaa04fe7b0eb6 /mk
parente4adfacd28ce79e4e99bf9e68c6d2f167209a197 (diff)
downloadpkgsrc-e884794d4bac278147c5012932400ad9fd586ae8.tar.gz
Add support for custom, per-category targets by setting PKG_MISC_TARGETS
This can be used to - enable execution of a non-standard target for all pkgs of a category, e.g. cd pkgsrc/benchmarks ; make benchmark - superceding standard-targets with custom versions, e.g. from /etc/mk.conf
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.subdir.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.subdir.mk b/mk/bsd.pkg.subdir.mk
index f9c4d2aa9f3..9fb5fac7c5c 100644
--- a/mk/bsd.pkg.subdir.mk
+++ b/mk/bsd.pkg.subdir.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.subdir.mk,v 1.21 1998/09/23 13:09:33 agc Exp $
+# $NetBSD: bsd.pkg.subdir.mk,v 1.22 1998/12/06 01:22:54 hubertf Exp $
# Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
#
@@ -90,7 +90,7 @@ ${SUBDIR}::
.for __target in all fetch fetch-list package extract configure \
build clean distclean depend describe reinstall tags checksum \
- mirror-distfiles deinstall
+ mirror-distfiles deinstall ${PKG_MISC_TARGETS}
.if !target(__target)
${__target}: _SUBDIRUSE
.endif