aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-11-14 03:02:50 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-11-14 03:02:50 +0000
commit8ffb41edae3b085f5199e7d68ddfa10caeb6e71b (patch)
treecbcdbe6eedbf0e9936ee47684dcaad80b9d0ebcc
parentf47c6b77ec522f28199db279c17c9d9211ec47cc (diff)
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
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter06/ed.xml17
2 files changed, 13 insertions, 7 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 5f93b8076..318104d3c 100644
--- a/chapter01/changelog.xml
+++ b/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>
diff --git a/chapter06/ed.xml b/chapter06/ed.xml
index 078f0a45a..dd1b7ebc4 100644
--- a/chapter06/ed.xml
+++ b/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>