r8148 - in trunk/BOOK: . chapter06

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Tue Jun 5 10:59:15 PDT 2007


Author: manuel
Date: 2007-06-05 11:59:15 -0600 (Tue, 05 Jun 2007)
New Revision: 8148

Modified:
   trunk/BOOK/chapter06/vim.xml
   trunk/BOOK/packages.ent
Log:
Replaced hardcoded Vim data directory name by an entity.

Modified: trunk/BOOK/chapter06/vim.xml
===================================================================
--- trunk/BOOK/chapter06/vim.xml	2007-06-05 17:44:47 UTC (rev 8147)
+++ trunk/BOOK/chapter06/vim.xml	2007-06-05 17:59:15 UTC (rev 8148)
@@ -112,7 +112,7 @@
     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 @@
       <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>

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2007-06-05 17:44:47 UTC (rev 8147)
+++ trunk/BOOK/packages.ent	2007-06-05 17:59:15 UTC (rev 8148)
@@ -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">




More information about the lfs-book mailing list