aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-12-17 17:59:02 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-12-17 17:59:02 +0000
commitf8d484de8e085ba0264f868856f412c9c2df2d96 (patch)
treece6035145d0a507bc3e1dfa20baba55981090d1e /chapter06/vim.xml
parent1bb4eb15546a60fe2b64bd1312a1f5e847f84250 (diff)
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
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml28
1 files changed, 9 insertions, 19 deletions
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.</para>
<para>Install the package:</para>
-<screen><userinput>make HELPSUBLOC=/usr/share/doc/vim-&vim-version; 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>
+<screen><userinput>make install</userinput></screen>
<para>Many users are used to using <command>vi</command> instead of
<command>vim</command>. To allow execution of <command>vim</command>
@@ -100,6 +82,14 @@ symlink:</para>
<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