Browse Source

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
Matthew Burgess 19 years ago
parent
commit
f8d484de8e
2 changed files with 14 additions and 19 deletions
  1. 5 0
      chapter01/changelog.xml
  2. 9 19
      chapter06/vim.xml

+ 5 - 0
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).</para>
 Dan Nicholson for the report (fixes bug 1670).</para>
 </listitem>
 </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><para>December 17, 2005 [matt]: Upgrade to psmisc-21.9</para>
 </listitem>
 </listitem>
 
 

+ 9 - 19
chapter06/vim.xml

@@ -73,25 +73,7 @@ redirecting the output to a log file.</para>
 
 
 <para>Install the package:</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
 <para>Many users are used to using <command>vi</command> instead of
 <command>vim</command>. To allow execution of <command>vim</command>
 <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>
 <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
 <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
 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
 comes with a GUI version of the editor that requires X and some