Changeset 37e35d2 for chapter06/make.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/make.xml

    rd4fdde6 r37e35d2  
    55  %general-entities;
    66]>
    7 
    8 <sect1 id="ch-system-make" role="wrap">
     7<sect1 id="ch-tools-make" role="wrap">
    98  <?dbhtml filename="make.html"?>
    109
     
    1716  <title>Make-&make-version;</title>
    1817
    19   <indexterm zone="ch-system-make">
     18  <indexterm zone="ch-tools-make">
    2019    <primary sortas="a-Make">Make</primary>
     20    <secondary>tools</secondary>
    2121  </indexterm>
    2222
     
    2424    <title/>
    2525
    26     <para>The Make package contains a program for compiling packages.</para>
     26    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     27    href="../chapter08/make.xml"
     28    xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
    2729
    2830    <segmentedlist>
     
    3133
    3234      <seglistitem>
    33         <seg>&make-ch6-sbu;</seg>
    34         <seg>&make-ch6-du;</seg>
     35        <seg>&make-tmp-sbu;</seg>
     36        <seg>&make-tmp-du;</seg>
    3537      </seglistitem>
    3638    </segmentedlist>
     
    4042  <sect2 role="installation">
    4143    <title>Installation of Make</title>
    42 <!--
    43     <para>Again, work around an error caused by glibc-2.27 and later:</para>
    4444
    45 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
    46 -->
    4745    <para>Prepare Make for compilation:</para>
    4846
    49 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
     47<screen><userinput remap="configure">./configure --prefix=/usr   \
     48            --without-guile \
     49            --host=$LFS_TGT \
     50            --build=$(build-aux/config.guess)</userinput></screen>
     51
     52    <variablelist>
     53      <title>The meaning of the new configure option:</title>
     54
     55      <varlistentry>
     56        <term><parameter>--without-guile</parameter></term>
     57        <listitem>
     58          <para>Although we are cross-compiling, configure tries to use
     59          guile from the build host if it finds it. This makes compilation
     60          fail, so this switch prevents using it.</para>
     61        </listitem>
     62      </varlistentry>
     63    </variablelist>
    5064
    5165    <para>Compile the package:</para>
     
    5367<screen><userinput remap="make">make</userinput></screen>
    5468
    55     <para>The test suite needs to know where supporting perl files are located.
    56     We use an environment variable to accomplish this.  To test the
    57     results, issue:</para>
    58 
    59 <screen><userinput remap="test">make check</userinput></screen>
    60 
    6169    <para>Install the package:</para>
    6270
    63 <screen><userinput remap="install">make install</userinput></screen>
     71<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
    6472
    6573  </sect2>
    6674
     75  <sect2 role="content">
     76    <title/>
    6777
    68   <sect2 id="contents-make" role="content">
    69     <title>Contents of Make</title>
    70 
    71     <segmentedlist>
    72       <segtitle>Installed program</segtitle>
    73 
    74       <seglistitem>
    75         <seg>make</seg>
    76       </seglistitem>
    77     </segmentedlist>
    78 
    79     <variablelist>
    80       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    81       <?dbfo list-presentation="list"?>
    82       <?dbhtml list-presentation="table"?>
    83 
    84       <varlistentry id="make">
    85         <term><command>make</command></term>
    86         <listitem>
    87           <para>Automatically determines which pieces of a package need to
    88           be (re)compiled and then issues the relevant commands</para>
    89           <indexterm zone="ch-system-make make">
    90             <primary sortas="b-make">make</primary>
    91           </indexterm>
    92         </listitem>
    93       </varlistentry>
    94 
    95     </variablelist>
     78    <para>Details on this package are located in
     79    <xref linkend="contents-make" role="."/></para>
    9680
    9781  </sect2>
Note: See TracChangeset for help on using the changeset viewer.