Ticket #3617: vim.patch

File vim.patch, 2.0 KB (added by chris@…, 10 years ago)
  • trunk/BOOK/chapter06/vim.xml

     
    8383
    8484    <para>Install the package:</para>
    8585
    86 <screen><userinput remap="install">make install</userinput></screen>
     86<screen><userinput remap="install">make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen>
    8787
     88    <variablelist>
     89      <title>The meaning of the make option:</title>
     90
     91      <varlistentry>
     92        <term><parameter>HELPSUBLOC=/usr/share/doc/vim-&vim-version;</parameter></term>
     93        <listitem>
     94          <para>Tells Vim to install its documentation into
     95          <filename class="directory">/usr/share/doc/vim-&vim-version;</filename>
     96          instead of
     97          <filename class="directory">/usr/share/&vim-docdir;/doc</filename>,
     98          for better consistency with the documentation location for other
     99          packages.</para>
     100        </listitem>
     101      </varlistentry>
     102
     103    </variablelist>
     104
    88105    <para>Many users are used to using <command>vi</command> instead of
    89106    <command>vim</command>. To allow execution of <command>vim</command>
    90107    when users habitually enter <command>vi</command>, create a
     
    96113    ln -sv vim.1 $(dirname $L)/vi.1
    97114done</userinput></screen>
    98115
    99     <para>By default, Vim's documentation is installed in <filename
    100     class="directory">/usr/share/vim</filename>. The following symlink
    101     allows the documentation to be accessed via <filename
    102     class="directory">/usr/share/doc/vim-&vim-version;</filename>, making
    103     it consistent with the location of documentation for other packages:</para>
    104 
    105 <screen><userinput remap="install">ln -sv ../&vim-docdir;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>
    106 
    107116    <para>If an X Window System is going to be installed on the LFS
    108117    system, it may be necessary to recompile Vim after installing X. Vim
    109118    comes with a GUI version of the editor that requires X and some