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">
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>
17 <title>Make-&make-version;</title>
19 <indexterm zone="ch-system-make">
20 <primary sortas="a-Make">Make</primary>
23 <sect2 role="package">
26 <para>The Make package contains a program for compiling packages.</para>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
33 <seg>&make-ch6-sbu;</seg>
34 <seg>&make-ch6-du;</seg>
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>
67 <sect2 id="contents-make" role="content">
68 <title>Contents of Make</title>
71 <segtitle>Installed program</segtitle>
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>
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>