2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2006-02-05 13:17:43 +00:00
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
<sect1 id="ch-system-make" role="wrap">
|
2006-02-05 13:17:43 +00:00
|
|
|
<?dbhtml filename="make.html"?>
|
|
|
|
|
2007-09-07 20:16:43 +01:00
|
|
|
<sect1info condition="script">
|
|
|
|
<productname>make</productname>
|
|
|
|
<productnumber>&make-version;</productnumber>
|
|
|
|
<address>&make-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<title>Make-&make-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="ch-system-make">
|
|
|
|
<primary sortas="a-Make">Make</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
|
|
|
|
|
|
|
<para>The Make package contains a program for compiling packages.</para>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<seglistitem>
|
2006-05-14 21:16:56 +01:00
|
|
|
<seg>&make-ch6-sbu;</seg>
|
|
|
|
<seg>&make-ch6-du;</seg>
|
2006-02-05 13:17:43 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
</sect2>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Make</title>
|
|
|
|
|
2018-09-20 18:02:36 +01:00
|
|
|
<para>Again, work around an error caused by glibc-2.27 and later:</para>
|
2018-02-03 02:56:41 +00:00
|
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
|
2006-02-05 13:17:43 +00:00
|
|
|
<para>Prepare Make for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<para>Compile the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2017-07-14 04:59:18 +01:00
|
|
|
<para>The test suite needs to know where supporting perl files are located.
|
2018-06-14 16:30:47 +01:00
|
|
|
We use an environment variable to accomplish this. To test the
|
2017-07-14 04:59:18 +01:00
|
|
|
results, issue:</para>
|
2007-09-18 22:11:00 +01:00
|
|
|
|
2017-07-14 04:59:18 +01:00
|
|
|
<screen><userinput remap="test">make PERL5LIB=$PWD/tests/ check</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<para>Install the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
</sect2>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<sect2 id="contents-make" role="content">
|
|
|
|
<title>Contents of Make</title>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed program</segtitle>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<seglistitem>
|
|
|
|
<seg>make</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
<varlistentry id="make">
|
|
|
|
<term><command>make</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Automatically determines which pieces of a package need to
|
|
|
|
be (re)compiled and then issues the relevant commands</para>
|
|
|
|
<indexterm zone="ch-system-make make">
|
|
|
|
<primary sortas="b-make">make</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
</variablelist>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-02-05 13:17:43 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|