Update to glibc-2.25.
[linux_from_scratch.git] / chapter06 / make.xml
blob791908683d48d83d7eaae2867ab0d0ce0cf7acfe
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>Prepare Make for compilation:</para>
45 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
47     <para>Compile the package:</para>
49 <screen><userinput remap="make">make</userinput></screen>
51     <para>To test the results, issue:</para>
53 <screen><userinput remap="test">make check</userinput></screen>
55     <para>Install the package:</para>
57 <screen><userinput remap="install">make install</userinput></screen>
59   </sect2>
62   <sect2 id="contents-make" role="content">
63     <title>Contents of Make</title>
65     <segmentedlist>
66       <segtitle>Installed program</segtitle>
68       <seglistitem>
69         <seg>make</seg>
70       </seglistitem>
71     </segmentedlist>
73     <variablelist>
74       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
75       <?dbfo list-presentation="list"?>
76       <?dbhtml list-presentation="table"?>
78       <varlistentry id="make">
79         <term><command>make</command></term>
80         <listitem>
81           <para>Automatically determines which pieces of a package need to
82           be (re)compiled and then issues the relevant commands</para>
83           <indexterm zone="ch-system-make make">
84             <primary sortas="b-make">make</primary>
85           </indexterm>
86         </listitem>
87       </varlistentry>
89     </variablelist>
91   </sect2>
93 </sect1>