From 91f9a174b535628ce48a1a8f9c3dddc3b9389f06 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 9 Aug 2023 12:37:52 +0800 Subject: [PATCH] ncurses: Simplify documentation install command --- chapter08/ncurses.xml | 3 +-- 1 file changed, 1 insertion(+), 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 If desired, install the Ncurses documentation: -mkdir -pv /usr/share/doc/ncurses-&ncurses-version; -cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version; +cp -v -R doc -T /usr/share/doc/ncurses-&ncurses-version;