Changeset 37e35d2 for chapter06/tar.xml


Ignore:
Timestamp:
06/29/2020 07:55:01 AM (4 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
c4804e8
Parents:
d4fdde6
Message:

Update to new lfs structure

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/tar.xml

    rd4fdde6 r37e35d2  
    66]>
    77
    8 <sect1 id="ch-system-tar" role="wrap">
     8<sect1 id="ch-tools-tar" role="wrap">
    99  <?dbhtml filename="tar.html"?>
    1010
     
    1717  <title>Tar-&tar-version;</title>
    1818
    19   <indexterm zone="ch-system-tar">
     19  <indexterm zone="ch-tools-tar">
    2020    <primary sortas="a-Tar">Tar</primary>
     21    <secondary>tools</secondary>
    2122  </indexterm>
    2223
     
    2425    <title/>
    2526
    26     <para>The Tar package contains an archiving program.</para>
     27    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     28    href="../chapter08/tar.xml"
     29    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
    2730
    2831    <segmentedlist>
     
    3134
    3235      <seglistitem>
    33         <seg>&tar-ch6-sbu;</seg>
    34         <seg>&tar-ch6-du;</seg>
     36        <seg>&tar-tmp-sbu;</seg>
     37        <seg>&tar-tmp-du;</seg>
    3538      </seglistitem>
    3639    </segmentedlist>
     
    4346    <para>Prepare Tar for compilation:</para>
    4447
    45 <screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1  \
    46 ./configure --prefix=/usr \
     48<screen><userinput remap="configure">./configure --prefix=/usr                     \
     49            --host=$LFS_TGT                   \
     50            --build=$(build-aux/config.guess) \
    4751            --bindir=/bin</userinput></screen>
    48 
    49     <variablelist>
    50       <title>The meaning of the configure options:</title>
    51 
    52       <varlistentry>
    53         <term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term>
    54         <listitem>
    55           <para>This forces the test for <function>mknod</function> to be run
    56           as root.  It is generally considered dangerous to run this test as
    57           the root user, but as it is being run on a system that has only been
    58           partially built, overriding it is OK.</para>
    59         </listitem>
    60       </varlistentry>
    61     </variablelist>
    6252
    6353    <para>Compile the package:</para>
     
    6555<screen><userinput remap="make">make</userinput></screen>
    6656
    67     <para>To test the results (about 3 SBU), issue:</para>
    68 
    69 <screen><userinput remap="test">make check</userinput></screen>
    70 
    71 <!-- Seems to pass for version 1.31. Keeping as a comment just in case...
    72     <para>One test, link mismatch, is known to fail.</para>
    73 -->
    74 
    7557    <para>Install the package:</para>
    7658
    77 <screen><userinput remap="install">make install
    78 make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen>
     59<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    7960
    8061  </sect2>
    8162
     63  <sect2 role="content">
     64    <title/>
    8265
    83   <sect2 id="contents-tar" role="content">
    84     <title>Contents of Tar</title>
    85 
    86     <segmentedlist>
    87       <segtitle>Installed programs</segtitle>
    88       <segtitle>Installed directory</segtitle>
    89 
    90       <seglistitem>
    91         <seg>tar</seg>
    92         <seg>/usr/share/doc/tar-&tar-version;</seg>
    93       </seglistitem>
    94     </segmentedlist>
    95 
    96     <variablelist>
    97       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    98       <?dbfo list-presentation="list"?>
    99       <?dbhtml list-presentation="table"?>
    100 
    101       <varlistentry id="tar">
    102         <term><command>tar</command></term>
    103         <listitem>
    104           <para>Creates, extracts files from, and lists the contents of archives,
    105           also known as tarballs</para>
    106           <indexterm zone="ch-system-tar tar">
    107             <primary sortas="b-tar">tar</primary>
    108           </indexterm>
    109         </listitem>
    110       </varlistentry>
    111 
    112     </variablelist>
     66    <para>Details on this package are located in <xref linkend="contents-tar" role="."/></para>
    11367
    11468  </sect2>
Note: See TracChangeset for help on using the changeset viewer.