summaryrefslogtreecommitdiff
path: root/devel/bmake/files/unit-tests/forsubst
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bmake/files/unit-tests/forsubst')
-rw-r--r--devel/bmake/files/unit-tests/forsubst10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/bmake/files/unit-tests/forsubst b/devel/bmake/files/unit-tests/forsubst
new file mode 100644
index 00000000000..3e2ab3b3de3
--- /dev/null
+++ b/devel/bmake/files/unit-tests/forsubst
@@ -0,0 +1,10 @@
+# $Id: forsubst,v 1.1.1.1 2010/04/20 13:32:42 joerg 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