mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Add manual pages and doc for NetworkManager
This commit is contained in:
parent
256eac6ea5
commit
4d6a0e2d19
@ -288,6 +288,27 @@ ninja</userinput></screen>
|
||||
<screen role="root"><userinput>ninja install &&
|
||||
mv -v /usr/share/doc/NetworkManager{,-&NetworkManager-version;}</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you have not passed the <option>-Ddocs=true</option> option to
|
||||
<command>meson</command>, you can install the pregenerated manual pages
|
||||
with (as the &root; user):
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>for file in $(echo ../man/*.[1578]); do
|
||||
section=${file##*.} &&
|
||||
install -vdm 755 /usr/share/man/man$section
|
||||
install -vm 644 $file /usr/share/man/man$section/
|
||||
done</userinput></screen>
|
||||
|
||||
<para>
|
||||
Still in case you have not used <option>-Ddocs=true</option>, the
|
||||
pregenerated HTML documentation can also be installed with (as
|
||||
the &root; user):
|
||||
</para>
|
||||
|
||||
<screen role="root"
|
||||
remap="doc"><userinput>cp -Rv ../docs/{api,libnm} /usr/share/doc/NetworkManager-&NetworkManager-version;</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
|
Loading…
Reference in New Issue
Block a user