Merge pull request #3242 from raboof/documentBuiltinsPlaceholder

Document builtins.placeholder
This commit is contained in:
Eelco Dolstra 2019-11-25 22:05:52 +01:00 committed by GitHub
commit fc62caa4a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1120,6 +1120,16 @@ Evaluates to <literal>[ "foo" ]</literal>.
</varlistentry> </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'> <varlistentry xml:id='builtin-readDir'>
<term><function>builtins.readDir</function> <term><function>builtins.readDir</function>