pattern I use a lot: start right after a given dir.

Easy to do.
This commit is contained in:
espie 2010-05-01 10:27:56 +00:00
parent 314bc41c47
commit 303bd978e6

View File

@ -1,7 +1,7 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
# $OpenBSD: bsd.port.subdir.mk,v 1.94 2010/04/20 10:02:39 espie Exp $
# $OpenBSD: bsd.port.subdir.mk,v 1.95 2010/05/01 10:27:56 espie Exp $
# FreeBSD Id: bsd.port.subdir.mk,v 1.20 1997/08/22 11:16:15 asami Exp
#
# The include file <bsd.port.subdir.mk> contains the default targets
@ -70,6 +70,10 @@ _FULLSUBDIR := ${SUBDIR}
.else
_FULLSUBDIR := ${SUBDIR:S@^@${PKGPATH}/@g}
.endif
.if defined(STARTAFTER)
STARTDIR = ${STARTAFTER}
SKIPDIR += ${STARTAFTER}
.endif
_SKIP_STUFF = case "$${subdir}" in
.for i in ${SKIPDIR}