summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests/forsubst
blob: 981fb88bc4c187444801c0c477b5849eea20844f (plain)
1
2
3
4
5
6
7
8
9
10
# $Id: forsubst,v 1.1 2009/10/07 16:40:30 sjg 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