aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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>