1# $Id: forsubst.mk,v 1.1.1.1 2014/08/30 18:57:18 sjg Exp $ 2 3all: for-subst 4 5here := ${.PARSEDIR} 6# this should not run foul of the parser 7.for file in ${.PARSEFILE} 8for-subst: ${file:S;^;${here}/;g} 9 @echo ".for with :S;... OK" 10.endfor 11