Bläddra i källkod

Corrected installation prefixes of Iproute2 package.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8658 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
DJ Lucas 17 år sedan
förälder
incheckning
7af598d1e2
2 ändrade filer med 16 tillägg och 3 borttagningar
  1. 4 0
      chapter01/changelog.xml
  2. 12 3
      chapter06/iproute2.xml

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <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>

+ 12 - 3
chapter06/iproute2.xml

@@ -43,10 +43,19 @@
 
     <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>
@@ -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