librsvg: Fix gi-docgen API doc install location

This commit is contained in:
Xi Ruoyao 2023-06-01 21:23:18 +08:00
parent 24ecd679da
commit 48d48bdd2e
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -122,7 +122,7 @@ make</userinput></screen>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<screen role="root"><userinput>make DOC_INSTALL_DIR='$(docdir)' install</userinput></screen>
<note>
<para>
@ -150,6 +150,12 @@ make</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
<para>
<parameter>DOC_INSTALL_DIR='$(docdir)'</parameter>: This override
ensures installing the API documentation into the expected location
if <xref linkend='gi-docgen'/> is installed.
</para>
<para>
<option>--disable-introspection</option>: Use this switch if you have
not installed <application>Gobject Introspection</application>.