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