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