xref: /minix3/usr.bin/make/unit-tests/forsubst.mk (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc# $Id: forsubst.mk,v 1.1 2014/08/21 13:44:51 apb Exp $
2*0a6a1f1dSLionel Sambuc
3*0a6a1f1dSLionel Sambucall: for-subst
4*0a6a1f1dSLionel Sambuc
5*0a6a1f1dSLionel Sambuchere := ${.PARSEDIR}
6*0a6a1f1dSLionel Sambuc# this should not run foul of the parser
7*0a6a1f1dSLionel Sambuc.for file in ${.PARSEFILE}
8*0a6a1f1dSLionel Sambucfor-subst:	  ${file:S;^;${here}/;g}
9*0a6a1f1dSLionel Sambuc	@echo ".for with :S;... OK"
10*0a6a1f1dSLionel Sambuc.endfor
11