Tag LFS-7.9-systemd-rc2
[linux_from_scratch.git] / chapter06 / automake.xml
blob115f311bf24dacc564e0bbf70fac9beae8433345
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-ch6-sbu;</seg>
35         <seg>&automake-ch6-du;</seg>
36       </seglistitem>
37     </segmentedlist>
39   </sect2>
41   <sect2 role="installation">
42     <title>Installation of Automake</title>
44     <para>First fix a warning that is caused by perl-5.22 and later:</para>
46 <screen><userinput remap="pre">sed -i 's:/\\\${:/\\\$\\{:' bin/automake.in</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>There are a couple of tests that incorrectly link to the 
57     wrong version of the flex library, so we temporarily work around
58     the problem.  Also, using the -j4 make option speeds up the tests, even on
59     systems with only one processor, due to internal delays in individual
60     tests.  To test the results, issue:</para>
62 <screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
63 make -j4 check</userinput></screen>
65     <para>Install the package:</para>
67 <screen><userinput remap="install">make install</userinput></screen>
69   </sect2>
72   <sect2 id="contents-automake" role="content">
73     <title>Contents of Automake</title>
75     <segmentedlist>
76       <segtitle>Installed programs</segtitle>
77       <segtitle>Installed directories</segtitle>
79       <seglistitem>
80         <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
81         automake-&am-minor-version; (hard linked with automake) </seg>
82         <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
83         /usr/share/doc/automake-&automake-version;</seg>
84       </seglistitem>
85     </segmentedlist>
87     <variablelist>
88       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
89       <?dbfo list-presentation="list"?>
90       <?dbhtml list-presentation="table"?>
92       <varlistentry id="aclocal">
93         <term><command>aclocal</command></term>
94         <listitem>
95           <para>Generates <filename>aclocal.m4</filename> files based on the
96           contents of <filename>configure.in</filename> files</para>
97           <indexterm zone="ch-system-automake aclocal">
98             <primary sortas="b-aclocal">aclocal</primary>
99           </indexterm>
100         </listitem>
101       </varlistentry>
103       <varlistentry id="aclocalversion">
104         <term><command>aclocal-&am-minor-version;</command></term>
105         <listitem>
106           <para>A hard link to <command>aclocal</command></para>
107           <indexterm zone="ch-system-automake aclocalversion">
108             <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
109           </indexterm>
110         </listitem>
111       </varlistentry>
113       <varlistentry id="automake">
114         <term><command>automake</command></term>
115         <listitem>
116           <para>A tool for automatically generating
117           <filename>Makefile.in</filename> files from
118           <filename>Makefile.am</filename> files [To create all the
119           <filename>Makefile.in</filename> files for a package, run this program
120           in the top-level directory. By scanning the
121           <filename>configure.in</filename> file, it automatically finds each
122           appropriate <filename>Makefile.am</filename> file and generates the
123           corresponding <filename>Makefile.in</filename> file.]</para>
124           <indexterm zone="ch-system-automake automake">
125             <primary sortas="b-automake">automake</primary>
126           </indexterm>
127         </listitem>
128       </varlistentry>
130       <varlistentry id="automake-version">
131         <term><command>automake-&am-minor-version;</command></term>
132         <listitem>
133           <para>A hard link to <command>automake</command></para>
134           <indexterm zone="ch-system-automake automake-version">
135             <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
136           </indexterm>
137         </listitem>
138       </varlistentry>
140     </variablelist>
142   </sect2>
144 </sect1>