summaryrefslogtreecommitdiff
path: root/devel/bmake/files/unit-tests/forsubst.mk
blob: 4b41727e675029cba7c13d761ced248861ab996d (plain)
1
2
3
4
5
6
7
8
9
10
# $Id: forsubst.mk,v 1.1.1.1 2015/05/19 21:36:45 joerg Exp $

all: for-subst

here := ${.PARSEDIR}
# this should not run foul of the parser
.for file in ${.PARSEFILE}
for-subst:	  ${file:S;^;${here}/;g}
	@echo ".for with :S;... OK"
.endfor