source: chapter06/make.xml@ 9c5cdd8a

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 9c5cdd8a was 9c5cdd8a, checked in by Xi Ruoyao <xry111@…>, 4 years ago

remove some unnecessary envs

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11876 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[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]>
[bdea25ce]7
[81fd230]8<sect1 id="ch-system-make" role="wrap">
[bdea25ce]9 <?dbhtml filename="make.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>make</productname>
13 <productnumber>&make-version;</productnumber>
14 <address>&make-url;</address>
15 </sect1info>
16
[bdea25ce]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>
[673b0d8]27
[bdea25ce]28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
[6370fa6]31
[bdea25ce]32 <seglistitem>
[e4a5635]33 <seg>&make-ch6-sbu;</seg>
34 <seg>&make-ch6-du;</seg>
[bdea25ce]35 </seglistitem>
36 </segmentedlist>
[5888299]37
[bdea25ce]38 </sect2>
[73aedd1d]39
[bdea25ce]40 <sect2 role="installation">
41 <title>Installation of Make</title>
[9324285]42<!--
[6c67242]43 <para>Again, work around an error caused by glibc-2.27 and later:</para>
[869b0966]44
45<screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
[9324285]46-->
[bdea25ce]47 <para>Prepare Make for compilation:</para>
[73aedd1d]48
[0445a3d]49<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
[73aedd1d]50
[bdea25ce]51 <para>Compile the package:</para>
[73aedd1d]52
[0445a3d]53<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]54
[67ce2a2]55 <para>The test suite needs to know where supporting perl files are located.
[540dde1]56 We use an environment variable to accomplish this. To test the
[67ce2a2]57 results, issue:</para>
[0445a3d]58
[9c5cdd8a]59<screen><userinput remap="test">make check</userinput></screen>
[73aedd1d]60
[bdea25ce]61 <para>Install the package:</para>
[73aedd1d]62
[0445a3d]63<screen><userinput remap="install">make install</userinput></screen>
[73aedd1d]64
[bdea25ce]65 </sect2>
[6370fa6]66
[5888299]67
[bdea25ce]68 <sect2 id="contents-make" role="content">
69 <title>Contents of Make</title>
[673b0d8]70
[bdea25ce]71 <segmentedlist>
72 <segtitle>Installed program</segtitle>
[81fd230]73
[bdea25ce]74 <seglistitem>
75 <seg>make</seg>
76 </seglistitem>
77 </segmentedlist>
[81fd230]78
[bdea25ce]79 <variablelist>
80 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
81 <?dbfo list-presentation="list"?>
82 <?dbhtml list-presentation="table"?>
[673b0d8]83
[bdea25ce]84 <varlistentry id="make">
85 <term><command>make</command></term>
86 <listitem>
87 <para>Automatically determines which pieces of a package need to
88 be (re)compiled and then issues the relevant commands</para>
89 <indexterm zone="ch-system-make make">
90 <primary sortas="b-make">make</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
[673b0d8]94
[bdea25ce]95 </variablelist>
[81fd230]96
[bdea25ce]97 </sect2>
98
99</sect1>
Note: See TracBrowser for help on using the repository browser.