[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[9652249] | 7 | <sect1 id="ch-tools-make" role="wrap">
|
---|
[7b82580] | 8 | <?dbhtml filename="make.html"?>
|
---|
[6370fa6] | 9 |
|
---|
[e747759] | 10 | <sect1info condition="script">
|
---|
| 11 | <productname>make</productname>
|
---|
| 12 | <productnumber>&make-version;</productnumber>
|
---|
| 13 | <address>&make-url;</address>
|
---|
| 14 | </sect1info>
|
---|
| 15 |
|
---|
[7b82580] | 16 | <title>Make-&make-version;</title>
|
---|
[81fd230] | 17 |
|
---|
[7b82580] | 18 | <indexterm zone="ch-tools-make">
|
---|
| 19 | <primary sortas="a-Make">Make</primary>
|
---|
| 20 | <secondary>tools</secondary>
|
---|
| 21 | </indexterm>
|
---|
[673b0d8] | 22 |
|
---|
[7b82580] | 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[673b0d8] | 25 |
|
---|
[d9441360] | 26 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7b82580] | 27 | href="../chapter06/make.xml"
|
---|
| 28 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
[81fd230] | 29 |
|
---|
[7b82580] | 30 | <segmentedlist>
|
---|
| 31 | <segtitle>&buildtime;</segtitle>
|
---|
| 32 | <segtitle>&diskspace;</segtitle>
|
---|
[73aedd1d] | 33 |
|
---|
[7b82580] | 34 | <seglistitem>
|
---|
[e4a5635] | 35 | <seg>&make-ch5-sbu;</seg>
|
---|
| 36 | <seg>&make-ch5-du;</seg>
|
---|
[7b82580] | 37 | </seglistitem>
|
---|
| 38 | </segmentedlist>
|
---|
[73aedd1d] | 39 |
|
---|
[7b82580] | 40 | </sect2>
|
---|
| 41 |
|
---|
| 42 | <sect2 role="installation">
|
---|
| 43 | <title>Installation of Make</title>
|
---|
| 44 |
|
---|
| 45 | <para>Prepare Make for compilation:</para>
|
---|
[73aedd1d] | 46 |
|
---|
[a3af16f] | 47 | <screen><userinput remap="configure">./configure --prefix=/tools --without-guile</userinput></screen>
|
---|
| 48 |
|
---|
| 49 | <variablelist>
|
---|
| 50 | <title>The meaning of the configure option:</title>
|
---|
| 51 |
|
---|
| 52 | <varlistentry>
|
---|
| 53 | <term><parameter>--without-guile</parameter></term>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>This ensures that Make-&make-version; won't link against Guile libraries, which
|
---|
| 56 | may be present on the host system, but won't be available within the
|
---|
| 57 | <command>chroot</command> environment in the next chapter.</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </varlistentry>
|
---|
| 60 | </variablelist>
|
---|
[73aedd1d] | 61 |
|
---|
[7b82580] | 62 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 63 |
|
---|
[0445a3d] | 64 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 65 |
|
---|
[1fa0f19] | 66 | <para>Compilation is now complete. As discussed earlier, running the test
|
---|
| 67 | suite is not mandatory for the temporary tools here in this chapter. To run
|
---|
| 68 | the Make test suite anyway, issue the following command:</para>
|
---|
[0445a3d] | 69 |
|
---|
| 70 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
[73aedd1d] | 71 |
|
---|
[7b82580] | 72 | <para>Install the package:</para>
|
---|
[73aedd1d] | 73 |
|
---|
[0445a3d] | 74 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 75 |
|
---|
[7b82580] | 76 | </sect2>
|
---|
[6370fa6] | 77 |
|
---|
[7b82580] | 78 | <sect2 role="content">
|
---|
| 79 | <title/>
|
---|
[81fd230] | 80 |
|
---|
[7b82580] | 81 | <para>Details on this package are located in
|
---|
| 82 | <xref linkend="contents-make" role="."/></para>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
[81fd230] | 85 |
|
---|
[7b82580] | 86 | </sect1>
|
---|