aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Staub <chris@linuxfromscratch.org>2014-06-30 06:05:57 +0000
committerChris Staub <chris@linuxfromscratch.org>2014-06-30 06:05:57 +0000
commit69f7600e2d2df3674ac662f98724f35c27704c2e (patch)
treed76a7ec68d54f2b0927ddaf825332aee8118d2c3
parentb35a204f2bf48e5578504b7bf957cae8f39396f6 (diff)
Put Vim documentation directly into /usr/share/doc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10613 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml11
-rw-r--r--chapter06/vim.xml27
2 files changed, 29 insertions, 9 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index d65ea8d2b..f73601d59 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -36,6 +36,17 @@
</listitem>
-->
<listitem>
+ <para>2014-06-30</para>
+ <itemizedlist>
+ <listitem>
+ <para>[Chris] - Install Vim documentation to /usr/share/doc
+ instead of creating a symlink there. Fixes
+ <ulink url="&lfs-ticket-root;3617">#3617</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2014-06-28</para>
<itemizedlist>
<listitem>
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index c5b3d0527..d400249be 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -83,7 +83,24 @@
<para>Install the package:</para>
-<screen><userinput remap="install">make install</userinput></screen>
+<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>
<para>Many users are used to using <command>vi</command> instead of
<command>vim</command>. To allow execution of <command>vim</command>
@@ -96,14 +113,6 @@ for L in /usr/share/man/{,*/}man1/vim.1; do
ln -sv vim.1 $(dirname $L)/vi.1
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
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