aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2008-10-12 23:36:21 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2008-10-12 23:36:21 +0000
commit7af598d1e24f0a5b8338319f3f8afb6157e4a24f (patch)
tree6a1c11a569c2fbb069d1a5760749c8f6eacd038d /chapter06
parent4ab39993ca7e43ba000879ec209f0337c0d5ca14 (diff)
Corrected installation prefixes of Iproute2 package.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8658 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/iproute2.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml
index 33f8dfbd2..7e7705389 100644
--- a/chapter06/iproute2.xml
+++ b/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