minix/usr.bin/make/unit-tests/forsubst

11 lines
231 B
Text
Raw Normal View History

2010-02-04 17:52:54 +01:00
# $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