aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
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 /chapter06
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/ed.xml17
1 files changed, 10 insertions, 7 deletions
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>