aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-08-09 12:37:52 +0800
committerXi Ruoyao <xry111@xry111.site>2023-08-09 12:37:52 +0800
commit91f9a174b535628ce48a1a8f9c3dddc3b9389f06 (patch)
treed4f0c0d183bda648c2a82556cb96d13bf2074305 /chapter08
parent539f0110b09ca953c289f914d4c7695ffd88f0af (diff)
ncurses: Simplify documentation install command
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/ncurses.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/chapter08/ncurses.xml b/chapter08/ncurses.xml
index 58221d144..b51099001 100644
--- a/chapter08/ncurses.xml
+++ b/chapter08/ncurses.xml
@@ -158,8 +158,7 @@ ln -sfv libncurses.so /usr/lib/libcurses.so</userinput></screen>
<para>If desired, install the Ncurses documentation:</para>
-<screen><userinput remap="install">mkdir -pv /usr/share/doc/ncurses-&ncurses-version;
-cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version;</userinput></screen>
+<screen><userinput remap="install">cp -v -R doc -T /usr/share/doc/ncurses-&ncurses-version;</userinput></screen>
<note>