source: chapter06/automake.xml@ 372aa12

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 12.2 12.2-rc1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 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/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 372aa12 was d4b904a, checked in by Matthew Burgess <matthew@…>, 12 years ago

Upgrade to Perl-5.16.0. Fixes #3094.

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

  • Property mode set to 100644
File size: 9.8 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-automake" role="wrap">
9 <?dbhtml filename="automake.html"?>
10
11 <sect1info condition="script">
12 <productname>automake</productname>
13 <productnumber>&automake-version;</productnumber>
14 <address>&automake-url;</address>
15 </sect1info>
16
17 <title>Automake-&automake-version;</title>
18
19 <indexterm zone="ch-system-automake">
20 <primary sortas="a-Automake">Automake</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Automake package contains programs for generating Makefiles for use
27 with Autoconf.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&automake-ch6-sbu;</seg>
35 <seg>&automake-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Automake</title>
43
44 <para>Apply a patch to fix an incomatibility between Automake-&automake-version; and Perl-&perl-version;:</para>
45
46<screen><userinput remap="pre">patch -Np1 -i ../&automake-perl_fix-patch;</userinput></screen>
47
48 <para>Prepare Automake for compilation:</para>
49
50<screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
51
52 <para>Compile the package:</para>
53
54<screen><userinput remap="make">make</userinput></screen>
55
56 <para>Fix a couple of minor bugs in the test suite:</para>
57
58<screen><userinput remap="pre">sed -i -e "s/yacc/lex/" t/lex-clean.sh
59sed -i -e "s/cc/'non-root cc'/" t/dist-readonly.sh</userinput></screen>
60
61 <para>To test the results, issue:</para>
62
63<screen><userinput remap="test">make check</userinput></screen>
64
65 <para>This takes a long time, about 10 SBUs.</para>
66
67 <para>Install the package:</para>
68
69<screen><userinput remap="install">make install</userinput></screen>
70
71 </sect2>
72
73
74 <sect2 id="contents-automake" role="content">
75 <title>Contents of Automake</title>
76
77 <segmentedlist>
78 <segtitle>Installed programs</segtitle>
79 <segtitle>Installed directories</segtitle>
80
81 <seglistitem>
82 <seg>acinstall, aclocal, aclocal-&am-minor-version;, automake,
83 automake-&am-minor-version;, compile, config.guess, config.sub,
84 depcomp, elisp-comp, install-sh, mdate-sh, missing, mkinstalldirs,
85 py-compile, symlink-tree, and ylwrap</seg>
86 <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;,
87 /usr/share/doc/automake-&automake-version;</seg>
88 </seglistitem>
89 </segmentedlist>
90
91 <variablelist>
92 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
93 <?dbfo list-presentation="list"?>
94 <?dbhtml list-presentation="table"?>
95
96 <varlistentry id="acinstall">
97 <term><command>acinstall</command></term>
98 <listitem>
99 <para>A script that installs aclocal-style M4 files</para>
100 <indexterm zone="ch-system-automake acinstall">
101 <primary sortas="b-acinstall">acinstall</primary>
102 </indexterm>
103 </listitem>
104 </varlistentry>
105
106 <varlistentry id="aclocal">
107 <term><command>aclocal</command></term>
108 <listitem>
109 <para>Generates <filename>aclocal.m4</filename> files based on the
110 contents of <filename>configure.in</filename> files</para>
111 <indexterm zone="ch-system-automake aclocal">
112 <primary sortas="b-aclocal">aclocal</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="aclocalversion">
118 <term><command>aclocal-&am-minor-version;</command></term>
119 <listitem>
120 <para>A hard link to <command>aclocal</command></para>
121 <indexterm zone="ch-system-automake aclocalversion">
122 <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="automake">
128 <term><command>automake</command></term>
129 <listitem>
130 <para>A tool for automatically generating
131 <filename>Makefile.in</filename> files from
132 <filename>Makefile.am</filename> files. To create all the
133 <filename>Makefile.in</filename> files for a package, run this program
134 in the top-level directory. By scanning the
135 <filename>configure.in</filename> file, it automatically finds each
136 appropriate <filename>Makefile.am</filename> file and generates the
137 corresponding <filename>Makefile.in</filename> file</para>
138 <indexterm zone="ch-system-automake automake">
139 <primary sortas="b-automake">automake</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="automake-version">
145 <term><command>automake-&am-minor-version;</command></term>
146 <listitem>
147 <para>A hard link to <command>automake</command></para>
148 <indexterm zone="ch-system-automake automake-version">
149 <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="compile">
155 <term><command>compile</command></term>
156 <listitem>
157 <para>A wrapper for compilers</para>
158 <indexterm zone="ch-system-automake compile">
159 <primary sortas="b-compile">compile</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry id="config.guess">
165 <term><command>config.guess</command></term>
166 <listitem>
167 <para>A script that attempts to guess the canonical triplet for
168 the given build, host, or target architecture</para>
169 <indexterm zone="ch-system-automake config.guess">
170 <primary sortas="b-config.guess">config.guess</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="config.sub">
176 <term><command>config.sub</command></term>
177 <listitem>
178 <para>A configuration validation subroutine script</para>
179 <indexterm zone="ch-system-automake config.sub">
180 <primary sortas="b-config.sub">config.sub</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="depcomp">
186 <term><command>depcomp</command></term>
187 <listitem>
188 <para>A script for compiling a program so that dependency information
189 is generated in addition to the desired output</para>
190 <indexterm zone="ch-system-automake depcomp">
191 <primary sortas="b-depcomp">depcomp</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="elisp-comp">
197 <term><command>elisp-comp</command></term>
198 <listitem>
199 <para>Byte-compiles Emacs Lisp code</para>
200 <indexterm zone="ch-system-automake elisp-comp">
201 <primary sortas="b-elisp-comp">elisp-comp</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="install-sh">
207 <term><command>install-sh</command></term>
208 <listitem>
209 <para>A script that installs a program, script, or data file</para>
210 <indexterm zone="ch-system-automake install-sh">
211 <primary sortas="b-install-sh">install-sh</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="mdate-sh">
217 <term><command>mdate-sh</command></term>
218 <listitem>
219 <para>A script that prints the modification time of a file or
220 directory</para>
221 <indexterm zone="ch-system-automake mdate-sh">
222 <primary sortas="b-mdate-sh">mdate-sh</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="missing">
228 <term><command>missing</command></term>
229 <listitem>
230 <para>A script acting as a common stub for missing GNU programs during
231 an installation</para>
232 <indexterm zone="ch-system-automake missing">
233 <primary sortas="b-missing">missing</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="mkinstalldirs">
239 <term><command>mkinstalldirs</command></term>
240 <listitem>
241 <para>A script that creates a directory tree</para>
242 <indexterm zone="ch-system-automake mkinstalldirs">
243 <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
244 </indexterm>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry id="py-compile">
249 <term><command>py-compile</command></term>
250 <listitem>
251 <para>Compiles a Python program</para>
252 <indexterm zone="ch-system-automake py-compile">
253 <primary sortas="b-py-compile">py-compile</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="symlink-tree">
259 <term><command>symlink-tree</command></term>
260 <listitem>
261 <para>A script to create a symlink tree of a directory tree</para>
262 <indexterm zone="ch-system-automake symlink-tree">
263 <primary sortas="b-symlink-tree">symlink-tree</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="ylwrap">
269 <term><command>ylwrap</command></term>
270 <listitem>
271 <para>A wrapper for <command>lex</command> and
272 <command>yacc</command></para>
273 <indexterm zone="ch-system-automake ylwrap">
274 <primary sortas="b-ylwrap">ylwrap</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 </variablelist>
280
281 </sect2>
282
283</sect1>
Note: See TracBrowser for help on using the repository browser.