aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2019-11-25 18:00:05 +0100
committerArnout Engelen <arnout@bzzt.net>2019-11-25 18:00:05 +0100
commit4e70652ee33641a6cfddbfb9b7d741515f1bf98a (patch)
treeab4530e5ffe3a54e63e28f8e2f265f6a82ed6173
parentd12d69ea1a871d631d77c8ef5e8468b4a2bff80f (diff)
Document builtins.placeholder
-rw-r--r--doc/manual/expressions/builtins.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml
index f39b393bf..394e1fc32 100644
--- a/doc/manual/expressions/builtins.xml
+++ b/doc/manual/expressions/builtins.xml
@@ -1120,6 +1120,16 @@ Evaluates to <literal>[ "foo" ]</literal>.
</varlistentry>
+ <varlistentry xml:id='builtin-placeholder'>
+ <term><function>builtins.placeholder</function>
+ <replaceable>output</replaceable></term>
+
+ <listitem><para>Return a placeholder string for the specified
+ <replaceable>output</replaceable> that will be substituted by the
+ corresponding output path at build time. Typical outputs would be
+ <literal>"out"</literal>, <literal>"bin"</literal> or
+ <literal>"dev"</literal>.</para></listitem>
+ </varlistentry>
<varlistentry xml:id='builtin-readDir'>
<term><function>builtins.readDir</function>