Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/iproute2.xml

    r62f6590 r1c57432  
    3636<screen os="s2"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
    3737sed -i '/ARPD/d' Makefile
    38 sed -i 's/arpd.8//' man/man8/Makefile</userinput></screen>
     38rm -v man/man8/arpd.8</userinput></screen>
     39
     40    <para os="f1">Remove unused libnl headers:</para>
     41   
     42    <screen os="f2"><userinput>sed -i '/netlink\//d' ip/ipl2tp.c</userinput></screen>
    3943
    4044    <para os="a">Compile the package:</para>
    4145
    42 <screen os="b"><userinput>make</userinput></screen>
    43 
    44     <para os="c">This package does not come with a test suite.</para>
    45 
    46     <para os="d">Install the package:</para>
    47 
    48 <screen os="e"><userinput>make DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install</userinput></screen>
     46<screen os="b"><userinput>make DESTDIR= DOCDIR=/usr/share/doc/iproute2 \
     47    MANDIR=/usr/share/man</userinput></screen>
     48
     49    <variablelist os="c">
     50      <title>The meaning of the make option:</title>
     51
     52      <varlistentry>
     53        <term><parameter>DESTDIR=</parameter></term>
     54        <listitem>
     55          <para>This option overrides the default DESTDIR of /usr, so that
     56          that the IPRoute2 binaries will be installed into
     57          <filename class="directory">/sbin</filename>. This is the correct
     58          location according to the FHS, because some of the IPRoute2 binaries
     59          are used by the CLFS-Bootscripts package.</para>
     60        </listitem>
     61      </varlistentry>
     62
     63      <varlistentry>
     64        <term><parameter>DOCDIR=/usr/share/doc/iproute2 MANDIR=/usr/share/man</parameter></term>
     65        <listitem>
     66          <para>The DESTDIR=/ parameter would cause documentation to be
     67          installed into <filename class="directory">/share/doc</filename> and
     68          <filename class="directory">/share/man</filename>. These options
     69          ensure the docs are installed to the correct locations.</para>
     70        </listitem>
     71      </varlistentry>
     72    </variablelist>
     73
     74    <para os="d">This package does not come with a test suite.</para>
     75
     76    <para os="e">Install the package:</para>
     77
     78<screen os="f"><userinput>make DESTDIR= DOCDIR=/usr/share/doc/iproute2 \
     79    MANDIR=/usr/share/man install</userinput></screen>
    4980
    5081  </sect2>
     
    6192        nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss,
    6293        and tc</seg>
    63         <seg>/etc/iproute2, /usr/lib/tc,
    64         /usr/share/doc/iproute2-&iproute2-version;</seg>
     94        <seg>/etc/iproute2, /lib/tc, /usr/lib/tc, /usr/share/doc/iproute2</seg>
    6595      </seglistitem>
    6696    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.