From f8d484de8e085ba0264f868856f412c9c2df2d96 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 17 Dec 2005 17:59:02 +0000 Subject: Symlink Vim's documentation to /usr/share/doc/vim-6.4 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7223 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter06/vim.xml | 28 +++++++++------------------- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 9356e9346..1eef53355 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -119,6 +119,11 @@ allowing us to drop its source directory right away. Origin is Greg Schafer, and Dan Nicholson for the report (fixes bug 1670). +December 17, 2005 [matt]: Symlink Vim's documentation to +/usr/share/doc. Fixes bug 1610. Thanks to Randy McMurchy for the original +report and to Ken and Jeremy for their investigations into the fix. + + December 17, 2005 [matt]: Upgrade to psmisc-21.9 diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 768632561..6fa6eb85d 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -73,25 +73,7 @@ redirecting the output to a log file. Install the package: -make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install - -The meaning of the make option: - - - - HELPSUBLOC=/usr/share/doc/vim-&vim-version; - - - This defines the directory that Vim's documentation will be - installed in. By default, Vim's documentation is installed in the - /usr/share/vim hierarchy. Other - packages install their documentation in the - /usr/share/doc hierarchy, so the - HELPSUBLOC option is used to ensure consistency. - - - - +make install Many users are used to using vi instead of vim. To allow execution of vim @@ -100,6 +82,14 @@ symlink: ln -sv vim /usr/bin/vi +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 /usr/share/vim/vim64/doc ../../../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