Ver Fonte

Chapter 6 - Ed: Streamlined build commands. Closes Bug 693.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3086 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Greg Schafer há 22 anos atrás
pai
commit
8ffb41edae
2 ficheiros alterados com 13 adições e 7 exclusões
  1. 3 0
      chapter01/changelog.xml
  2. 10 7
      chapter06/ed.xml

+ 3 - 0
chapter01/changelog.xml

@@ -34,6 +34,9 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>November 13th, 2003 [greg]: Chapter 6 - Ed: Streamlined build
+commands. Closes Bug 693.</para></listitem>
+
 <listitem><para>November 13th, 2003 [greg]: Upgraded to Perl-5.8.2 and 
 streamlined build commands for Perl's Chapter 5 static 
 extensions. Closes Bug 690.</para></listitem>

+ 10 - 7
chapter06/ed.xml

@@ -31,7 +31,16 @@ create temporary files.</para>
 
 <para>Now prepare Ed for compilation:</para>
 
-<screen><userinput>./configure --prefix=/usr</userinput></screen>
+<screen><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
+
+<para>The meaning of the configure option:</para>
+
+<itemizedlist>
+<listitem><para><userinput>--exec-prefix=""</userinput>: This forces the
+programs to be installed into the <filename>/bin</filename> directory. Having
+the programs available there is useful in the event of the
+<filename>/usr</filename> partition being unavailable.</para></listitem>
+</itemizedlist>
 
 <para>Compile the package:</para>
 
@@ -47,12 +56,6 @@ following command will do so:</para>
 
 <screen><userinput>make install</userinput></screen>
 
-<para>And move the programs to the <filename>/bin</filename> directory, so
-they can be used in the event that the <filename>/usr</filename> partition is
-unavailable.</para>
-
-<screen><userinput>mv /usr/bin/{ed,red} /bin</userinput></screen>
-
 </sect2>
 
 </sect1>