source: chapter06/make.xml@ 1fa2099

multilib-10.1
Last change on this file since 1fa2099 was 1fa2099, checked in by Thomas Trepl <thomas@…>, 5 years ago

Initial creation of multilib branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11565 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.6 KB
Line 
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]>
7
8<sect1 id="ch-system-make" role="wrap">
9 <?dbhtml filename="make.html"?>
10
11 <sect1info condition="script">
12 <productname>make</productname>
13 <productnumber>&make-version;</productnumber>
14 <address>&make-url;</address>
15 </sect1info>
16
17 <title>Make-&make-version;</title>
18
19 <indexterm zone="ch-system-make">
20 <primary sortas="a-Make">Make</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Make package contains a program for compiling packages.</para>
27
28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
31
32 <seglistitem>
33 <seg>&make-ch6-sbu;</seg>
34 <seg>&make-ch6-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Make</title>
42
43 <para>Again, work around an error caused by glibc-2.27 and later:</para>
44
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>
47
48<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
49
50 <para>Compile the package:</para>
51
52<screen><userinput remap="make">make</userinput></screen>
53
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>
57
58<screen><userinput remap="test">make PERL5LIB=$PWD/tests/ check</userinput></screen>
59
60 <para>Install the package:</para>
61
62<screen><userinput remap="install">make install</userinput></screen>
63
64 </sect2>
65
66
67 <sect2 id="contents-make" role="content">
68 <title>Contents of Make</title>
69
70 <segmentedlist>
71 <segtitle>Installed program</segtitle>
72
73 <seglistitem>
74 <seg>make</seg>
75 </seglistitem>
76 </segmentedlist>
77
78 <variablelist>
79 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
80 <?dbfo list-presentation="list"?>
81 <?dbhtml list-presentation="table"?>
82
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>
93
94 </variablelist>
95
96 </sect2>
97
98</sect1>
Note: See TracBrowser for help on using the repository browser.