diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-08-09 12:37:52 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-08-09 12:37:52 +0800 |
commit | 91f9a174b535628ce48a1a8f9c3dddc3b9389f06 (patch) | |
tree | d4f0c0d183bda648c2a82556cb96d13bf2074305 /chapter08 | |
parent | 539f0110b09ca953c289f914d4c7695ffd88f0af (diff) |
ncurses: Simplify documentation install command
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/ncurses.xml | 3 |
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> |