Changeset 69f7600


Ignore:
Timestamp:
06/30/2014 06:05:57 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:
638cc8f
Parents:
b35a204f
Message:

Put Vim documentation directly into /usr/share/doc

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10613 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rb35a204f r69f7600  
    3636    </listitem>
    3737-->
     38    <listitem>
     39      <para>2014-06-30</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[Chris] - Install Vim documentation to /usr/share/doc
     43          instead of creating a symlink there. Fixes
     44          <ulink url="&lfs-ticket-root;3617">#3617</ulink>.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
    3849    <listitem>
    3950      <para>2014-06-28</para>
  • chapter06/vim.xml

    rb35a204f r69f7600  
    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>
     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>
    87104
    88105    <para>Many users are used to using <command>vi</command> instead of
     
    96113    ln -sv vim.1 $(dirname $L)/vi.1
    97114done</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>
    106115
    107116    <para>If an X Window System is going to be installed on the LFS
Note: See TracChangeset for help on using the changeset viewer.