mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
libgusb: Make doc generation explicit
This commit is contained in:
parent
5dc3b4a645
commit
e6bb6b7fae
@ -107,6 +107,15 @@
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr --buildtype=release -Ddocs=false .. &&
|
||||
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 "/output: 'libgusb'/s/'\$/-0.4.5'/" -i ../docs/meson.build &&
|
||||
meson configure -Ddocs=true &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -127,16 +136,9 @@ ninja</userinput></screen>
|
||||
href="../../xincludes/meson-buildtype-release.xml"/>
|
||||
|
||||
<para>
|
||||
<parameter>-Ddocs=false</parameter>: building documentation needs
|
||||
<xref linkend="gi-docgen"/>. Remove this switch if you have
|
||||
installed <application>gi-docgen</application>, and you wish to build
|
||||
the API documentation. If this option is used, use the following
|
||||
command to fix the directory name of the API documentation after
|
||||
this package is installed:
|
||||
<parameter>-Ddocs=false</parameter>: &gi-doc-disable;
|
||||
</para>
|
||||
|
||||
<screen role='nodump'><userinput>mv -v /usr/share/doc/libgusb{,-&libgusb-version;}</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
|
Loading…
Reference in New Issue
Block a user