Update to systemd-243. BLFS portion coming whenever utility power is restored here.
[linux_from_scratch.git] / BOOK / chapter06 / make.xml
blobe2792976bab6a50690dcf79c22399a76596133c1
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4   <!ENTITY % general-entities SYSTEM "../general.ent">
5   %general-entities;
6 ]>
8 <sect1 id="ch-system-make" role="wrap">
9   <?dbhtml filename="make.html"?>
11   <sect1info condition="script">
12     <productname>make</productname>
13     <productnumber>&make-version;</productnumber>
14     <address>&make-url;</address>
15   </sect1info>
17   <title>Make-&make-version;</title>
19   <indexterm zone="ch-system-make">
20     <primary sortas="a-Make">Make</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The Make package contains a program for compiling packages.</para>
28     <segmentedlist>
29       <segtitle>&buildtime;</segtitle>
30       <segtitle>&diskspace;</segtitle>
32       <seglistitem>
33         <seg>&make-ch6-sbu;</seg>
34         <seg>&make-ch6-du;</seg>
35       </seglistitem>
36     </segmentedlist>
38   </sect2>
40   <sect2 role="installation">
41     <title>Installation of Make</title>
43     <para>Again, work around an error caused by glibc-2.27 and later:</para>
45 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
46     <para>Prepare Make for compilation:</para>
48 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
50     <para>Compile the package:</para>
52 <screen><userinput remap="make">make</userinput></screen>
54     <para>The test suite needs to know where supporting perl files are located.
55     We use an environment variable to accomplish this.  To test the 
56     results, issue:</para>
58 <screen><userinput remap="test">make PERL5LIB=$PWD/tests/ check</userinput></screen>
60     <para>Install the package:</para>
62 <screen><userinput remap="install">make install</userinput></screen>
64   </sect2>
67   <sect2 id="contents-make" role="content">
68     <title>Contents of Make</title>
70     <segmentedlist>
71       <segtitle>Installed program</segtitle>
73       <seglistitem>
74         <seg>make</seg>
75       </seglistitem>
76     </segmentedlist>
78     <variablelist>
79       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
80       <?dbfo list-presentation="list"?>
81       <?dbhtml list-presentation="table"?>
83       <varlistentry id="make">
84         <term><command>make</command></term>
85         <listitem>
86           <para>Automatically determines which pieces of a package need to
87           be (re)compiled and then issues the relevant commands</para>
88           <indexterm zone="ch-system-make make">
89             <primary sortas="b-make">make</primary>
90           </indexterm>
91         </listitem>
92       </varlistentry>
94     </variablelist>
96   </sect2>
98 </sect1>