Parcourir la source

Undo change to Vim docs, so that Vim can find them

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10677 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Chris Staub il y a 11 ans
Parent
commit
0d81e3cd3a
2 fichiers modifiés avec 21 ajouts et 20 suppressions
  1. 10 0
      chapter01/changelog.xml
  2. 11 20
      chapter06/vim.xml

+ 10 - 0
chapter01/changelog.xml

@@ -35,6 +35,16 @@
       </itemizedlist>
       </itemizedlist>
     </listitem>
     </listitem>
 -->
 -->
+    <listitem>
+      <para>2014-08-05</para>
+      <itemizedlist>
+        <listitem>
+          <para>[Chris] - Reversed change to Vim's docs location, so that
+          Vim can find its help files.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
     <listitem>
       <para>2014-08-03</para>
       <para>2014-08-03</para>
       <itemizedlist>
       <itemizedlist>

+ 11 - 20
chapter06/vim.xml

@@ -83,24 +83,7 @@
 
 
     <para>Install the package:</para>
     <para>Install the package:</para>
 
 
-<screen><userinput remap="install">make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen>
-
-    <variablelist>
-      <title>The meaning of the make option:</title>
-
-      <varlistentry>
-        <term><parameter>HELPSUBLOC=/usr/share/doc/vim-&vim-version;</parameter></term>
-        <listitem>
-          <para>Tells Vim to install its documentation into
-          <filename class="directory">/usr/share/doc/vim-&vim-version;</filename>
-          instead of 
-          <filename class="directory">/usr/share/&vim-docdir;/doc</filename>,
-          for better consistency with the documentation location for other
-          packages.</para>
-        </listitem>
-      </varlistentry>
-
-    </variablelist>
+<screen><userinput remap="install">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>
@@ -113,6 +96,14 @@ for L in  /usr/share/man/{,*/}man1/vim.1; do
     ln -sv vim.1 $(dirname $L)/vi.1
     ln -sv vim.1 $(dirname $L)/vi.1
 done</userinput></screen>
 done</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 remap="install">ln -sv ../&vim-docdir;/doc /usr/share/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
@@ -195,13 +186,13 @@ set spell</literal></screen>
 
 
     <segmentedlist>
     <segmentedlist>
       <segtitle>Installed programs</segtitle>
       <segtitle>Installed programs</segtitle>
-      <segtitle>Installed directories</segtitle>
+      <segtitle>Installed directory</segtitle>
 
 
       <seglistitem>
       <seglistitem>
        <seg> ex (link to vim), rview (link to vim), rvim (link to vim), vi
        <seg> ex (link to vim), rview (link to vim), rvim (link to vim), vi
        (link to vim), view (link to vim), vim, vimdiff (link to vim), vimtutor,
        (link to vim), view (link to vim), vim, vimdiff (link to vim), vimtutor,
        and xxd</seg>
        and xxd</seg>
-        <seg>/usr/share/doc/vim-&vim-version;, /usr/share/vim</seg>
+        <seg>/usr/share/vim</seg>
       </seglistitem>
       </seglistitem>
     </segmentedlist>
     </segmentedlist>