From 69f7600e2d2df3674ac662f98724f35c27704c2e Mon Sep 17 00:00:00 2001 From: Chris Staub Date: Mon, 30 Jun 2014 06:05:57 +0000 Subject: Put Vim documentation directly into /usr/share/doc git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10613 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/vim.xml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'chapter06') diff --git a/chapter06/vim.xml b/chapter06/vim.xml index c5b3d0527..d400249be 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -83,7 +83,24 @@ Install the package: -make install +make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install + + + The meaning of the make option: + + + HELPSUBLOC=/usr/share/doc/vim-&vim-version; + + Tells Vim to install its documentation into + /usr/share/doc/vim-&vim-version; + instead of + /usr/share/&vim-docdir;/doc, + for better consistency with the documentation location for other + packages. + + + + Many users are used to using vi instead of vim. To allow execution of vim @@ -96,14 +113,6 @@ for L in /usr/share/man/{,*/}man1/vim.1; do ln -sv vim.1 $(dirname $L)/vi.1 done - By default, Vim's documentation is installed in /usr/share/vim. The following symlink - allows the documentation to be accessed via /usr/share/doc/vim-&vim-version;, making - it consistent with the location of documentation for other packages: - -ln -sv ../&vim-docdir;/doc /usr/share/doc/vim-&vim-version; - If an X Window System is going to be installed on the LFS system, it may be necessary to recompile Vim after installing X. Vim comes with a GUI version of the editor that requires X and some -- cgit v1.2.3-54-g00ecf