[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 |
|
---|
[d4bf7ab] | 52 | <!--<para>There are a couple of tests that incorrectly link to the
|
---|
[d02c56d] | 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
|
---|
[fba870f] | 55 | systems with only one processor, due to internal delays in individual
|
---|
[d02c56d] | 56 | tests. To test the results, issue:</para>
|
---|
[d4bf7ab] | 57 | -->
|
---|
[d02c56d] | 58 |
|
---|
[d4bf7ab] | 59 | <para> Using the -j4 make option speeds up the tests, even on systems with
|
---|
| 60 | only one processor, due to internal delays in individual tests. To test
|
---|
| 61 | the results, issue:</para>
|
---|
[0445a3d] | 62 |
|
---|
[d4bf7ab] | 63 | <!--<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh
|
---|
| 64 | make -j4 check</userinput></screen>-->
|
---|
| 65 |
|
---|
| 66 | <screen><userinput remap="test">make -j4 check</userinput></screen>
|
---|
| 67 |
|
---|
[e938334] | 68 |
|
---|
| 69 | <para>One test is known to fail in the LFS environment:
|
---|
| 70 | subobj.sh.</para>
|
---|
| 71 |
|
---|
[50e693d] | 72 | <para>Install the package:</para>
|
---|
[73aedd1d] | 73 |
|
---|
[0445a3d] | 74 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 75 |
|
---|
[50e693d] | 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 |
|
---|
| 79 | <sect2 id="contents-automake" role="content">
|
---|
| 80 | <title>Contents of Automake</title>
|
---|
| 81 |
|
---|
| 82 | <segmentedlist>
|
---|
| 83 | <segtitle>Installed programs</segtitle>
|
---|
[fe05b08] | 84 | <segtitle>Installed directories</segtitle>
|
---|
[50e693d] | 85 |
|
---|
| 86 | <seglistitem>
|
---|
[040ecb6] | 87 | <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
|
---|
| 88 | automake-&am-minor-version; (hard linked with automake) </seg>
|
---|
[7bb9fda] | 89 | <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
|
---|
[fe05b08] | 90 | /usr/share/doc/automake-&automake-version;</seg>
|
---|
[50e693d] | 91 | </seglistitem>
|
---|
| 92 | </segmentedlist>
|
---|
| 93 |
|
---|
| 94 | <variablelist>
|
---|
| 95 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 96 | <?dbfo list-presentation="list"?>
|
---|
| 97 | <?dbhtml list-presentation="table"?>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="aclocal">
|
---|
| 100 | <term><command>aclocal</command></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>Generates <filename>aclocal.m4</filename> files based on the
|
---|
| 103 | contents of <filename>configure.in</filename> files</para>
|
---|
| 104 | <indexterm zone="ch-system-automake aclocal">
|
---|
| 105 | <primary sortas="b-aclocal">aclocal</primary>
|
---|
| 106 | </indexterm>
|
---|
| 107 | </listitem>
|
---|
| 108 | </varlistentry>
|
---|
| 109 |
|
---|
[7a27279c] | 110 | <varlistentry id="aclocalversion">
|
---|
[970a126] | 111 | <term><command>aclocal-&am-minor-version;</command></term>
|
---|
[50e693d] | 112 | <listitem>
|
---|
| 113 | <para>A hard link to <command>aclocal</command></para>
|
---|
[7a27279c] | 114 | <indexterm zone="ch-system-automake aclocalversion">
|
---|
[970a126] | 115 | <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
|
---|
[50e693d] | 116 | </indexterm>
|
---|
| 117 | </listitem>
|
---|
| 118 | </varlistentry>
|
---|
| 119 |
|
---|
| 120 | <varlistentry id="automake">
|
---|
| 121 | <term><command>automake</command></term>
|
---|
| 122 | <listitem>
|
---|
| 123 | <para>A tool for automatically generating
|
---|
| 124 | <filename>Makefile.in</filename> files from
|
---|
[7bb9fda] | 125 | <filename>Makefile.am</filename> files [To create all the
|
---|
[50e693d] | 126 | <filename>Makefile.in</filename> files for a package, run this program
|
---|
| 127 | in the top-level directory. By scanning the
|
---|
| 128 | <filename>configure.in</filename> file, it automatically finds each
|
---|
| 129 | appropriate <filename>Makefile.am</filename> file and generates the
|
---|
[7bb9fda] | 130 | corresponding <filename>Makefile.in</filename> file.]</para>
|
---|
[50e693d] | 131 | <indexterm zone="ch-system-automake automake">
|
---|
| 132 | <primary sortas="b-automake">automake</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="automake-version">
|
---|
[970a126] | 138 | <term><command>automake-&am-minor-version;</command></term>
|
---|
[50e693d] | 139 | <listitem>
|
---|
| 140 | <para>A hard link to <command>automake</command></para>
|
---|
| 141 | <indexterm zone="ch-system-automake automake-version">
|
---|
[970a126] | 142 | <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
|
---|
[50e693d] | 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | </variablelist>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
[673b0d8] | 150 |
|
---|
| 151 | </sect1>
|
---|