aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-11-06 18:37:36 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-11-06 18:37:36 +0000
commita5ebf89e5b0918e10060fbca0c86f299e5db801f (patch)
treeea2624d157f4edec90d73ebfb4539bf60b95f177 /chapter06
parentf07d35a283d43f4abb5cb62abc2ddfef26d9e253 (diff)
Install Vim's documentation to /usr/share/doc/vim-6.4 instead of the default /usr/share/vim/vim64/doc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7130 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/vim.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 15d53e47e..a947e0a67 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -75,7 +75,25 @@ redirecting the output to a log file.</para>
<para>Install the package:</para>
-<screen><userinput>make install</userinput></screen>
+<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>
<para>Many users are used to using <command>vi</command> instead of
<command>vim</command>. To allow execution of <command>vim</command>