Author: dj
Date: 2008-10-12 17:36:21 -0600 (Sun, 12 Oct 2008)
New Revision: 8658

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/iproute2.xml
Log:
Corrected installation prefixes of Iproute2 package.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2008-10-12 22:08:32 UTC (rev 8657)
+++ trunk/BOOK/chapter01/changelog.xml  2008-10-12 23:36:21 UTC (rev 8658)
@@ -41,6 +41,10 @@
       <para>2008-10-12</para>
       <itemizedlist>
         <listitem>
+          <para>[dj] - Corrected installation prefixes of Iproute2
+          package with DESTDIR and MANDIR paths.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Modified the Chapter 6 GMP instructions to include a
           method for determining all the tests in the test suite passed.</para>
         </listitem>

Modified: trunk/BOOK/chapter06/iproute2.xml
===================================================================
--- trunk/BOOK/chapter06/iproute2.xml   2008-10-12 22:08:32 UTC (rev 8657)
+++ trunk/BOOK/chapter06/iproute2.xml   2008-10-12 23:36:21 UTC (rev 8658)
@@ -43,12 +43,21 @@
 
     <para>Compile the package:</para>
 
-<screen><userinput remap="make">make SBINDIR=/sbin</userinput></screen>
+<screen><userinput remap="make">make DESTDIR= 
SBINDIR=/sbin</userinput></screen>
 
     <variablelist>
-      <title>The meaning of the make option:</title>
+      <title>The meaning of the make options:</title>
 
       <varlistentry>
+        <term><parameter>DESTDIR=</parameter></term>
+        <listitem>
+          <para>This ensures that the IPRoute2 binaries will install into
+          the correct directory. By default, <parameter>DESTDIR</parameter> is
+          set to <filename class="directory">/usr</filename>.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term><parameter>SBINDIR=/sbin</parameter></term>
         <listitem>
           <para>This ensures that the IPRoute2 binaries will install into
@@ -71,7 +80,7 @@
 
     <para>Install the package:</para>
 
-<screen><userinput remap="install">make SBINDIR=/sbin \
+<screen><userinput remap="install">make DESTDIR= SBINDIR=/sbin 
MANDIR=/usr/share/man \
      DOCDIR=/usr/share/doc/iproute2-&iproute2-version; 
install</userinput></screen>
 
     <para>The <command>arpd</command> binary links against the Berkeley DB

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to