kernel: Simplify doc installation

This commit is contained in:
Xi Ruoyao 2023-07-22 18:36:33 +08:00
parent e9619f650f
commit 0d824c5280
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -431,8 +431,7 @@ Device Drivers --->
<para>Install the documentation for the Linux kernel:</para>
<screen><userinput remap="install">install -d /usr/share/doc/linux-&linux-version;
cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen>
<screen><userinput remap="install">cp -r Documentation -T /usr/share/doc/linux-&linux-version;</userinput></screen>
<para>It is important to note that the files in the kernel source
directory are not owned by <emphasis>root</emphasis>. Whenever a