Explorar el Código

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
Matthew Burgess hace 20 años
padre
commit
a5ebf89e5b
Se han modificado 2 ficheros con 25 adiciones y 1 borrados
  1. 6 0
      chapter01/changelog.xml
  2. 19 1
      chapter06/vim.xml

+ 6 - 0
chapter01/changelog.xml

@@ -116,6 +116,12 @@ First a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>November 6, 2005 [matt]: Install Vim's documentation to
+<filename class="directory">/usr/share/doc/vim-&vim-version;</filename> instead
+of <filename class="directory">/usr/share/vim/vim64/doc</filename> (bug 1610).
+Thanks to Randy McMurchy for the report, and Jeremy Huntwork for the fix.</para>
+</listitem>
+
 <listitem><para>November 6, 2005 [matt]: Upgrade to Coreutils 5.93.</para>
 </listitem>
 

+ 19 - 1
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>