source: chapter06/automake.xml@ 177aee0

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 7.5 7.6 7.7 7.8 7.9 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 177aee0 was 177aee0, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Delete unneded symlinks in /usr; add /usr/libexec.
Use better workarund for automake tests.
Minor spacing issues.

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

  • Property mode set to 100644
File size: 8.9 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]>
[50e693d]7
[81fd230]8<sect1 id="ch-system-automake" role="wrap">
[50e693d]9 <?dbhtml filename="automake.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>automake</productname>
13 <productnumber>&automake-version;</productnumber>
14 <address>&automake-url;</address>
15 </sect1info>
16
[50e693d]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/>
[673b0d8]25
[50e693d]26 <para>The Automake package contains programs for generating Makefiles for use
27 with Autoconf.</para>
[6370fa6]28
[50e693d]29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
[5888299]32
[50e693d]33 <seglistitem>
[e4a5635]34 <seg>&automake-ch6-sbu;</seg>
35 <seg>&automake-ch6-du;</seg>
[50e693d]36 </seglistitem>
37 </segmentedlist>
[a001133]38
[50e693d]39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Automake</title>
43
44 <para>Prepare Automake for compilation:</para>
[73aedd1d]45
[4106b83]46<screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
[73aedd1d]47
[50e693d]48 <para>Compile the package:</para>
[73aedd1d]49
[0445a3d]50<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]51
[d02c56d]52 <para>There are a couple of tests that incorrectly link to the
53 wrong version of the flex library, so we temporarily work around
54 the problem. Also, using the -j4 make option speeds up the tests, even on
55 systems with only one processor due to internal delays in individual
56 tests. To test the results, issue:</para>
57
[177aee0]58<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
59make -j4 check</userinput></screen>
[0445a3d]60
[50e693d]61 <para>Install the package:</para>
[73aedd1d]62
[0445a3d]63<screen><userinput remap="install">make install</userinput></screen>
[73aedd1d]64
[50e693d]65 </sect2>
66
67
68 <sect2 id="contents-automake" role="content">
69 <title>Contents of Automake</title>
70
71 <segmentedlist>
72 <segtitle>Installed programs</segtitle>
[fe05b08]73 <segtitle>Installed directories</segtitle>
[50e693d]74
75 <seglistitem>
[970a126]76 <seg>acinstall, aclocal, aclocal-&am-minor-version;, automake,
77 automake-&am-minor-version;, compile, config.guess, config.sub,
[b5b97081]78 depcomp, install-sh, mdate-sh, missing, mkinstalldirs,
79 py-compile, and ylwrap</seg>
[970a126]80 <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;,
[fe05b08]81 /usr/share/doc/automake-&automake-version;</seg>
[50e693d]82 </seglistitem>
83 </segmentedlist>
84
85 <variablelist>
86 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
87 <?dbfo list-presentation="list"?>
88 <?dbhtml list-presentation="table"?>
89
90 <varlistentry id="acinstall">
91 <term><command>acinstall</command></term>
92 <listitem>
93 <para>A script that installs aclocal-style M4 files</para>
94 <indexterm zone="ch-system-automake acinstall">
95 <primary sortas="b-acinstall">acinstall</primary>
96 </indexterm>
97 </listitem>
98 </varlistentry>
99
100 <varlistentry id="aclocal">
101 <term><command>aclocal</command></term>
102 <listitem>
103 <para>Generates <filename>aclocal.m4</filename> files based on the
104 contents of <filename>configure.in</filename> files</para>
105 <indexterm zone="ch-system-automake aclocal">
106 <primary sortas="b-aclocal">aclocal</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
[7a27279c]111 <varlistentry id="aclocalversion">
[970a126]112 <term><command>aclocal-&am-minor-version;</command></term>
[50e693d]113 <listitem>
114 <para>A hard link to <command>aclocal</command></para>
[7a27279c]115 <indexterm zone="ch-system-automake aclocalversion">
[970a126]116 <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
[50e693d]117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="automake">
122 <term><command>automake</command></term>
123 <listitem>
124 <para>A tool for automatically generating
125 <filename>Makefile.in</filename> files from
126 <filename>Makefile.am</filename> files. To create all the
127 <filename>Makefile.in</filename> files for a package, run this program
128 in the top-level directory. By scanning the
129 <filename>configure.in</filename> file, it automatically finds each
130 appropriate <filename>Makefile.am</filename> file and generates the
131 corresponding <filename>Makefile.in</filename> file</para>
132 <indexterm zone="ch-system-automake automake">
133 <primary sortas="b-automake">automake</primary>
134 </indexterm>
135 </listitem>
136 </varlistentry>
137
138 <varlistentry id="automake-version">
[970a126]139 <term><command>automake-&am-minor-version;</command></term>
[50e693d]140 <listitem>
141 <para>A hard link to <command>automake</command></para>
142 <indexterm zone="ch-system-automake automake-version">
[970a126]143 <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
[50e693d]144 </indexterm>
145 </listitem>
146 </varlistentry>
147
148 <varlistentry id="compile">
149 <term><command>compile</command></term>
150 <listitem>
151 <para>A wrapper for compilers</para>
152 <indexterm zone="ch-system-automake compile">
153 <primary sortas="b-compile">compile</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157
158 <varlistentry id="config.guess">
159 <term><command>config.guess</command></term>
160 <listitem>
161 <para>A script that attempts to guess the canonical triplet for
162 the given build, host, or target architecture</para>
163 <indexterm zone="ch-system-automake config.guess">
164 <primary sortas="b-config.guess">config.guess</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="config.sub">
170 <term><command>config.sub</command></term>
171 <listitem>
172 <para>A configuration validation subroutine script</para>
173 <indexterm zone="ch-system-automake config.sub">
174 <primary sortas="b-config.sub">config.sub</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="depcomp">
180 <term><command>depcomp</command></term>
181 <listitem>
182 <para>A script for compiling a program so that dependency information
183 is generated in addition to the desired output</para>
184 <indexterm zone="ch-system-automake depcomp">
185 <primary sortas="b-depcomp">depcomp</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="install-sh">
191 <term><command>install-sh</command></term>
192 <listitem>
193 <para>A script that installs a program, script, or data file</para>
194 <indexterm zone="ch-system-automake install-sh">
195 <primary sortas="b-install-sh">install-sh</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="mdate-sh">
201 <term><command>mdate-sh</command></term>
202 <listitem>
203 <para>A script that prints the modification time of a file or
204 directory</para>
205 <indexterm zone="ch-system-automake mdate-sh">
206 <primary sortas="b-mdate-sh">mdate-sh</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="missing">
212 <term><command>missing</command></term>
213 <listitem>
214 <para>A script acting as a common stub for missing GNU programs during
215 an installation</para>
216 <indexterm zone="ch-system-automake missing">
217 <primary sortas="b-missing">missing</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="mkinstalldirs">
223 <term><command>mkinstalldirs</command></term>
224 <listitem>
225 <para>A script that creates a directory tree</para>
226 <indexterm zone="ch-system-automake mkinstalldirs">
227 <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="py-compile">
233 <term><command>py-compile</command></term>
234 <listitem>
235 <para>Compiles a Python program</para>
236 <indexterm zone="ch-system-automake py-compile">
237 <primary sortas="b-py-compile">py-compile</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="ylwrap">
243 <term><command>ylwrap</command></term>
244 <listitem>
245 <para>A wrapper for <command>lex</command> and
246 <command>yacc</command></para>
247 <indexterm zone="ch-system-automake ylwrap">
248 <primary sortas="b-ylwrap">ylwrap</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 </variablelist>
254
255 </sect2>
[673b0d8]256
257</sect1>
Note: See TracBrowser for help on using the repository browser.