aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/vim.xml4
-rw-r--r--packages.ent1
2 files changed, 3 insertions, 2 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 5f8123a96..af694562a 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -112,7 +112,7 @@ done</userinput></screen>
class="directory">/usr/share/doc/vim-&vim-version;</filename>, making
it consistent with the location of documentation for other packages:</para>
-<screen><userinput>ln -sv ../vim/vim70/doc /usr/share/doc/vim-&vim-version;</userinput></screen>
+<screen><userinput>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
@@ -177,7 +177,7 @@ EOF</userinput></screen>
<filename>*.spl</filename> and optionally, the <filename>*.sug</filename>
files for your language and character encoding from <ulink
url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and save them to
- <filename class='directory'>/usr/share/vim/vim70/spell/</filename>.</para>
+ <filename class='directory'>/usr/share/&vim-docdir;/spell/</filename>.</para>
<para>To use these spell files, some configuration in
<filename>/etc/vimrc</filename> is needed, e.g.:</para>
diff --git a/packages.ent b/packages.ent
index 88462c698..1d4def910 100644
--- a/packages.ent
+++ b/packages.ent
@@ -507,6 +507,7 @@
<!ENTITY util-linux-ch6-sbu "0.2 SBU">
<!ENTITY vim-version "7.1">
+<!ENTITY vim-docdir "vim/vim71">
<!ENTITY vim-size "6,714 KB">
<!ENTITY vim-url "ftp://ftp.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
<!ENTITY vim-md5 "44c6b4914f38d6f9aa959640b89da329">