2015-10-15 10:25:28 +02:00

11 lines
234 B
Makefile

# $Id: forsubst.mk,v 1.1 2014/08/21 13:44:51 apb 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