aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-07-01 16:00:20 +0800
committerXi Ruoyao <xry111@xry111.site>2023-07-01 16:00:45 +0800
commitd6e7cda825b9ddc2c9685cc1bb083923f18906b7 (patch)
tree08b818249a11a0a572c1a278172666596d4fab78
parent4cd0193c962548f5d2188144ee8ccd5be5af76e9 (diff)
kbd: Simplify the instruction for doc installation
-rw-r--r--chapter08/kbd.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/chapter08/kbd.xml b/chapter08/kbd.xml
index 522ddbd72..28685015a 100644
--- a/chapter08/kbd.xml
+++ b/chapter08/kbd.xml
@@ -97,8 +97,7 @@ sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in</userinput></screen>
<para>If desired, install the documentation:</para>
-<screen><userinput remap="install">mkdir -pv /usr/share/doc/kbd-&kbd-version;
-cp -R -v docs/doc/* /usr/share/doc/kbd-&kbd-version;</userinput></screen>
+<screen><userinput remap="install">cp -R -v docs/doc -T /usr/share/doc/kbd-&kbd-version;</userinput></screen>
</sect2>