浏览代码

Bug 116: Change lfs-hints URLs - also added entity

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@900 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 24 年之前
父节点
当前提交
a4a7effb0f

+ 1 - 1
chapter03/creatingpart.xml

@@ -7,7 +7,7 @@ is not recommended if it is the first time you try LFS, but may be useful
 if you are short on disk space. If you feel brave, take a look at the 
 one partition hint at 
 <ulink 
-url="http://archive.linuxfromscratch.org/lfs-hints/one-partition-hint.txt">http://archive.linuxfromscratch.org/lfs-hints/one-partition-hint.txt</ulink>.</para>
+url="&hint-root;one-partition-hint.txt">&hint-root;one-partition-hint.txt</ulink>.</para>
 
 <para>Before we can build our new Linux system, we need to have an empty Linux
 partition on which we can build our new system. I recommend a partition size

+ 1 - 1
chapter06/aboutdebug.xml

@@ -46,7 +46,7 @@ removing those symbols a lot of disk space can be regained.</para>
 
 <para>You might find additional information in the optimization hint which can 
 be found at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/optimization.txt">http://archive.linuxfromscratch.org/lfs-hints/optimization.txt</ulink>
+url="&hint-root;optimization.txt">&hint-root;optimization.txt</ulink>
 .</para>
 
 </sect1>

+ 1 - 1
chapter06/introduction.xml

@@ -10,7 +10,7 @@ full instructions for each and every package. This is simply to avoid any
 possible confusion and errors.</para>
 
 <para>Now would be a good time to take a look at the optimization hint at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/optimization.txt">http://archive.linuxfromscratch.org/lfs-hints/optimization.txt</ulink> 
+url="&hint-root;optimization.txt">&hint-root;optimization.txt</ulink> 
 if you plan on using compiler optimization for the packages
 installed in the following chapter. Compiler optimization can make a program run
 faster, but may also cause some compilation problems. If you run into problems

+ 2 - 2
chapter06/lilo-inst.xml

@@ -4,7 +4,7 @@
 <para>We have chosen Lilo because we feel confortable with it, but you 
 may wish to take a look elsewhere. Someone has written a hint on 
 GRUB at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/grub-howto.txt">http://archive.linuxfromscratch.org/lfs-hints/grub-howto.txt</ulink>,
+url="&hint-root;grub-howto.txt">&hint-root;grub-howto.txt</ulink>,
  an alternative boot loader.</para>
 
 <para>Install Lilo by running the following commands:</para>
@@ -25,7 +25,7 @@ yet. We will complete the installation of lilo in chapter 8.</para>
 <para>Maybe you'll be interested to know that someone wrote a hint on 
 how to get a logo instead the the standard LILO prompt or menu. Take 
 a look at it at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/bootlogo.txt">http://archive.linuxfromscratch.org/lfs-hints/bootlogo.txt</ulink>
+url="&hint-root;bootlogo.txt">&hint-root;bootlogo.txt</ulink>
 .</para>
 
 </sect2>

+ 1 - 1
chapter06/man-inst.xml

@@ -9,7 +9,7 @@
 <userinput>make install</userinput></screen></para>
 
 <para>You may want to take a look at the man hint at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/man.txt">http://archive.linuxfromscratch.org/lfs-hints/man.txt</ulink> 
+url="&hint-root;man.txt">&hint-root;man.txt</ulink> 
 which deals with formatting and compression issues for man pages.</para>
 
 </sect2>

+ 1 - 1
chapter06/vim-inst.xml

@@ -5,7 +5,7 @@
 you may want to download an alternative and install an editor you 
 prefer. There are a few hints how to install different editors
 available at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/">http://www.archive.linuxfromscratch.org/lfs-hints/</ulink>
+url="&hint-root;">&hint-root;</ulink>
 .  The hints which are currently available are for Emacs, Joe and nano.</para>
 
 <para>Both the vim-rt and vim-src packages need to be unpacked to install Vim.

+ 1 - 1
chapter07/introduction.xml

@@ -12,7 +12,7 @@ system uses.</para>
 because it is widely used and we feel confortable with it. If you want to 
 try something else, someone has written an LFS-Hint on BSD style init scripts 
 at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/bsd-init.txt">http://archive.linuxfromscratch.org/lfs-hints/bsd-init.txt</ulink>
+url="&hint-root;bsd-init.txt">&hint-root;bsd-init.txt</ulink>
 .</para>
 
 </sect1>

+ 1 - 1
chapter07/setclock.xml

@@ -79,7 +79,7 @@ set to the value <emphasis>0</emphasis> (zero).</para>
 
 <para>Now, you may want to take a look at a very good hint explaining how we
 deal with time on LFS at <ulink 
-url="http://archive.linuxfromscratch.org/lfs-hints/time.txt">http://archive.linuxfromscratch.org/lfs-hints/time.txt</ulink>. 
+url="&hint-root;time.txt">&hint-root;time.txt</ulink>. 
 It explains issues such as timezones, UTC, and the TZ 
 environment variable.</para>
 

+ 2 - 2
chapter09/theend.xml

@@ -53,10 +53,10 @@ active:</para>
 
 <para>If you are wondering: "Well, where to go now?" you'll be glad to hear that
 someone has written an LFS hint on the subject at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/afterlfs.txt">http://archive.linuxfromscratch.org/lfs-hints/afterlfs.txt</ulink>.
+url="&hint-root;afterlfs.txt">&hint-root;afterlfs.txt</ulink>.
 On a same note, if you are not only newbie to LFS, but also
 newbie to Linux in general, you may find the newbie hint at <ulink
-url="http://archive.linuxfromscratch.org/lfs-hints/newbie.txt">http://archive.linuxfromscratch.org/lfs-hints/newbie.txt</ulink>
+url="&hint-root;newbie.txt">&hint-root;newbie.txt</ulink>
  very interesting.</para>
 
 <para>Don't forget there are several LFS mailinglists you can subscribe to if

+ 1 - 0
index.xml

@@ -11,6 +11,7 @@
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">
 <!ENTITY ftp "ftp://ftp.linuxfromscratch.org/cvs">
 <!ENTITY http "http://ftp.linuxfromscratch.org/cvs">
+<!ENTITY hint-root "http://hints.linuxfromscratch.org/hints/">
 
 <!ENTITY part1 SYSTEM "book/part1.xml">
 <!ENTITY part2 SYSTEM "book/part2.xml">