Browse Source

Don't need DESTDIR or MANDIR for IPRoute2

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10617 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Chris Staub 11 năm trước cách đây
mục cha
commit
cf5da6bb0b
2 tập tin đã thay đổi với 6 bổ sung18 xóa
  1. 4 0
      chapter01/changelog.xml
  2. 2 18
      chapter06/iproute2.xml

+ 4 - 0
chapter01/changelog.xml

@@ -43,6 +43,10 @@
           instead of creating a symlink there. Fixes
           instead of creating a symlink there. Fixes
           <ulink url="&lfs-ticket-root;3617">#3617</ulink>.</para>
           <ulink url="&lfs-ticket-root;3617">#3617</ulink>.</para>
         </listitem>
         </listitem>
+        <listitem>
+          <para>[Chris] - Removed DESTDIR and MANDIR from IPRoute2
+          page - they are no longer needed.</para>
+        </listitem>
       </itemizedlist>
       </itemizedlist>
     </listitem>
     </listitem>
 
 

+ 2 - 18
chapter06/iproute2.xml

@@ -60,21 +60,7 @@ sed -i 's/arpd.8//' man/man8/Makefile</userinput></screen>
 
 
     <para>Compile the package:</para>
     <para>Compile the package:</para>
 
 
-<screen><userinput remap="make">make DESTDIR=</userinput></screen>
-
-    <variablelist>
-      <title>The meaning of the make option:</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>
-
-    </variablelist>
+<screen><userinput remap="make">make</userinput></screen>
 
 
     <para>This package comes with a test suite, but due to assumptions it makes,
     <para>This package comes with a test suite, but due to assumptions it makes,
     it is not possible to reliably run these tests from within the chroot
     it is not possible to reliably run these tests from within the chroot
@@ -87,9 +73,7 @@ sed -i 's/arpd.8//' man/man8/Makefile</userinput></screen>
 
 
     <para>Install the package:</para>
     <para>Install the package:</para>
 
 
-<screen><userinput remap="install">make DESTDIR=              \
-     MANDIR=/usr/share/man \
-     DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install</userinput></screen>
+<screen><userinput remap="install">make DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install</userinput></screen>
 
 
   </sect2>
   </sect2>