diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-07-22 18:36:33 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-07-22 18:36:33 +0800 |
commit | 0d824c52807e3060f19e5ba5c7408905cd3aa4c2 (patch) | |
tree | 08bc272584406cfb0b6191a0d8ae0e22b8fe6463 /chapter10 | |
parent | e9619f650fc142ac74d5cdbf0b5c23000c1d949e (diff) |
kernel: Simplify doc installation
Diffstat (limited to 'chapter10')
-rw-r--r-- | chapter10/kernel.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 244c86623..ad6b252a7 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -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 |