Author: matthew Date: 2005-12-17 10:59:02 -0700 (Sat, 17 Dec 2005) New Revision: 7223
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter06/vim.xml Log: Symlink Vim's documentation to /usr/share/doc/vim-6.4 Modified: trunk/BOOK/chapter01/changelog.xml =================================================================== --- trunk/BOOK/chapter01/changelog.xml 2005-12-17 17:10:03 UTC (rev 7222) +++ trunk/BOOK/chapter01/changelog.xml 2005-12-17 17:59:02 UTC (rev 7223) @@ -119,6 +119,11 @@ Dan Nicholson for the report (fixes bug 1670).</para> </listitem> +<listitem><para>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.</para> +</listitem> + <listitem><para>December 17, 2005 [matt]: Upgrade to psmisc-21.9</para> </listitem> Modified: trunk/BOOK/chapter06/vim.xml =================================================================== --- trunk/BOOK/chapter06/vim.xml 2005-12-17 17:10:03 UTC (rev 7222) +++ trunk/BOOK/chapter06/vim.xml 2005-12-17 17:59:02 UTC (rev 7223) @@ -73,26 +73,8 @@ <para>Install the package:</para> -<screen><userinput>make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen> +<screen><userinput>make install</userinput></screen> -<para>The meaning of the make option:</para> - -<variablelist> - <varlistentry> - <term><parameter>HELPSUBLOC=/usr/share/doc/vim-&vim-version;</parameter> - </term> - <listitem> - <para>This defines the directory that Vim's documentation will be - installed in. By default, Vim's documentation is installed in the - <filename class="directory">/usr/share/vim</filename> hierarchy. Other - packages install their documentation in the - <filename class="directory">/usr/share/doc</filename> hierarchy, so the - <parameter>HELPSUBLOC</parameter> option is used to ensure consistency. - </para> - </listitem> - </varlistentry> -</variablelist> - <para>Many users are used to using <command>vi</command> instead of <command>vim</command>. To allow execution of <command>vim</command> when users habitually enter <command>vi</command>, create a @@ -100,6 +82,14 @@ <screen><userinput>ln -sv vim /usr/bin/vi</userinput></screen> +<para>By default, Vim's documentation is installed in +<filename class="directory">/usr/share/vim</filename>. The following symlink +allows the documentation to be accessed via +<filename class="directory">/usr/share/doc/vim-&vim-version;</filename>, making +it consistent with the location of documentation for other packages:</para> + +<screen><userinput>ln -sv /usr/share/vim/vim64/doc ../../../doc/vim-&vim-version;</userinput></screen> + <para>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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
