summaryrefslogtreecommitdiffstats
path: root/contrib/bmake/unit-tests/forsubst
blob: d3a7de1b38daf604494a7ca307785bda6fed6097 (plain)
1
2
3
4
5
6
7
8
9
10
# $Id: forsubst,v 1.1.1.1 2009/10/07 18:53:35 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
OpenPOWER on IntegriCloud