aboutsummaryrefslogblamecommitdiff
path: root/contrib/bmake/unit-tests/forsubst.mk
blob: 2923e4b369f92c1ac5c442b29ca5ea731d8c73f2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                          








                                        
# $Id: forsubst.mk,v 1.1.1.1 2014/08/30 18:57:18 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