Changeset 0d81e3c


Ignore:
Timestamp:
08/05/2014 11:51:34 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
49a92553
Parents:
075d0290
Message:

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r075d0290 r0d81e3c  
    3636    </listitem>
    3737-->
     38    <listitem>
     39      <para>2014-08-05</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[Chris] - Reversed change to Vim's docs location, so that
     43          Vim can find its help files.</para>
     44        </listitem>
     45      </itemizedlist>
     46    </listitem>
     47
    3848    <listitem>
    3949      <para>2014-08-03</para>
  • chapter06/vim.xml

    r075d0290 r0d81e3c  
    8484    <para>Install the package:</para>
    8585
    86 <screen><userinput remap="install">make HELPSUBLOC=/usr/share/doc/vim-&vim-version; install</userinput></screen>
    87 
    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>
     86<screen><userinput remap="install">make install</userinput></screen>
    10487
    10588    <para>Many users are used to using <command>vi</command> instead of
     
    11396    ln -sv vim.1 $(dirname $L)/vi.1
    11497done</userinput></screen>
     98
     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>
    115106
    116107    <para>If an X Window System is going to be installed on the LFS
     
    196187    <segmentedlist>
    197188      <segtitle>Installed programs</segtitle>
    198       <segtitle>Installed directories</segtitle>
     189      <segtitle>Installed directory</segtitle>
    199190
    200191      <seglistitem>
     
    202193       (link to vim), view (link to vim), vim, vimdiff (link to vim), vimtutor,
    203194       and xxd</seg>
    204         <seg>/usr/share/doc/vim-&vim-version;, /usr/share/vim</seg>
     195        <seg>/usr/share/vim</seg>
    205196      </seglistitem>
    206197    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.