summaryrefslogtreecommitdiff
path: root/devel/bmake/files/unit-tests/forsubst
blob: 3e2ab3b3de3f381cf25d48c0d096f57d74c66796 (plain)
1
2
3
4
5
6
7
8
9
10
# $Id: forsubst,v 1.1.1.1 2010/04/20 13:32:42 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