Document builtins.placeholder

(cherry picked from commit 4e70652ee33641a6cfddbfb9b7d741515f1bf98a)
This commit is contained in:
Arnout Engelen 2019-11-25 18:00:05 +01:00 committed by Eelco Dolstra
parent 9879e25473
commit 95be8d3b12

View file

@ -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>