gdk-pixbuf: Make docdir fix explicit

This commit is contained in:
Xi Ruoyao 2023-02-14 20:18:35 +08:00
parent a51e56d5ba
commit bacea35e60
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -118,6 +118,15 @@
cd build &&
meson --prefix=/usr --buildtype=release --wrap-mode=nofallback .. &&
ninja</userinput></screen>
<para>
If you have <xref linkend='gi-docgen'/> installed and wish to build
the API documentation for this package, issue:
</para>
<screen role='nodump'><userinput>sed "/docs_dir =/s@\$@ / 'gdk-pixbuf-&gdk-pixbuf-version;'@" -i ../docs/meson.build &amp;&amp;
meson configure -Dgtk_doc=true &amp;&amp;
ninja</userinput></screen>
<para>
@ -162,17 +171,6 @@ ninja</userinput></screen>
generate manual pages, or if you do not want to install
<xref linkend="docutils" role="nodep"/>.
</para>
<para>
<option>-Dgtk_doc=true</option>: Use this option if you have installed
<xref linkend='gi-docgen'/> and want to generate the API
documentation. If this option is used, fix the installation location
of the API documentation before issueing
<command>cd build</command> with the command:
</para>
<screen role='nodump'><userinput>sed "/docs_dir =/s@\$@ / 'gdk-pixbuf-&gdk-pixbuf-version;'@" -i docs/meson.build</userinput></screen>
</sect2>
<sect2 role="content">