bc: remove unnecessary CFLAGS variable setting
[linux_from_scratch.git] / BOOK / chapter08 / automake.xml
blobee444a365d2573be29597ff84235e474c5778c48
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 ]>
8 <sect1 id="ch-system-automake" role="wrap">
9   <?dbhtml filename="automake.html"?>
11   <sect1info condition="script">
12     <productname>automake</productname>
13     <productnumber>&automake-version;</productnumber>
14     <address>&automake-url;</address>
15   </sect1info>
17   <title>Automake-&automake-version;</title>
19   <indexterm zone="ch-system-automake">
20     <primary sortas="a-Automake">Automake</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The Automake package contains programs for generating Makefiles for use
27     with Autoconf.</para>
29     <segmentedlist>
30       <segtitle>&buildtime;</segtitle>
31       <segtitle>&diskspace;</segtitle>
33       <seglistitem>
34         <seg>&automake-fin-sbu;</seg>
35         <seg>&automake-fin-du;</seg>
36       </seglistitem>
37     </segmentedlist>
39   </sect2>
41   <sect2 role="installation">
42     <title>Installation of Automake</title>
44     <para>Fix a failing test:</para>
46 <screen><userinput remap="pre">sed -i "s/''/etags/" t/tags-lisp-space.sh</userinput></screen>
48     <para>Prepare Automake for compilation:</para>
50 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
52     <para>Compile the package:</para>
54 <screen><userinput remap="make">make</userinput></screen>
56     <para> Using the -j4 make option speeds up the tests, even on systems with
57     only one processor, due to internal delays in individual tests.  To test
58     the results, issue:</para>
60 <screen><userinput remap="test">make -j4 check</userinput></screen>
62     <para>The test t/subobj.sh is known to fail in the LFS environment.</para>
64     <para>Install the package:</para>
66 <screen><userinput remap="install">make install</userinput></screen>
68   </sect2>
71   <sect2 id="contents-automake" role="content">
72     <title>Contents of Automake</title>
74     <segmentedlist>
75       <segtitle>Installed programs</segtitle>
76       <segtitle>Installed directories</segtitle>
78       <seglistitem>
79         <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
80         automake-&am-minor-version; (hard linked with automake) </seg>
81         <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
82         /usr/share/doc/automake-&automake-version;</seg>
83       </seglistitem>
84     </segmentedlist>
86     <variablelist>
87       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
88       <?dbfo list-presentation="list"?>
89       <?dbhtml list-presentation="table"?>
91       <varlistentry id="aclocal">
92         <term><command>aclocal</command></term>
93         <listitem>
94           <para>Generates <filename>aclocal.m4</filename> files based on the
95           contents of <filename>configure.in</filename> files</para>
96           <indexterm zone="ch-system-automake aclocal">
97             <primary sortas="b-aclocal">aclocal</primary>
98           </indexterm>
99         </listitem>
100       </varlistentry>
102       <varlistentry id="aclocalversion">
103         <term><command>aclocal-&am-minor-version;</command></term>
104         <listitem>
105           <para>A hard link to <command>aclocal</command></para>
106           <indexterm zone="ch-system-automake aclocalversion">
107             <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
108           </indexterm>
109         </listitem>
110       </varlistentry>
112       <varlistentry id="automake">
113         <term><command>automake</command></term>
114         <listitem>
115           <para>A tool for automatically generating
116           <filename>Makefile.in</filename> files from
117           <filename>Makefile.am</filename> files [To create all the
118           <filename>Makefile.in</filename> files for a package, run this program
119           in the top-level directory. By scanning the
120           <filename>configure.in</filename> file, it automatically finds each
121           appropriate <filename>Makefile.am</filename> file and generates the
122           corresponding <filename>Makefile.in</filename> file.]</para>
123           <indexterm zone="ch-system-automake automake">
124             <primary sortas="b-automake">automake</primary>
125           </indexterm>
126         </listitem>
127       </varlistentry>
129       <varlistentry id="automake-version">
130         <term><command>automake-&am-minor-version;</command></term>
131         <listitem>
132           <para>A hard link to <command>automake</command></para>
133           <indexterm zone="ch-system-automake automake-version">
134             <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
135           </indexterm>
136         </listitem>
137       </varlistentry>
139     </variablelist>
141   </sect2>
143 </sect1>