[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 |
|
---|
[8f3b4cdc] | 44 | <para>Patch a test in the Automake test suite to fix an issue that occurs
|
---|
| 45 | when running the tests as <systemitem class="username">root</systemitem>:
|
---|
| 46 | </para>
|
---|
| 47 |
|
---|
| 48 | <screen><userinput remap="pre">patch -Np1 -i ../&automake-test-patch;</userinput></screen>
|
---|
| 49 |
|
---|
[50e693d] | 50 | <para>Prepare Automake for compilation:</para>
|
---|
[73aedd1d] | 51 |
|
---|
[0445a3d] | 52 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
[73aedd1d] | 53 |
|
---|
[50e693d] | 54 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 55 |
|
---|
[0445a3d] | 56 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 57 |
|
---|
[0445a3d] | 58 | <para>To test the results, issue:</para>
|
---|
| 59 |
|
---|
| 60 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 61 |
|
---|
| 62 | <para>This takes a long time, about 10 SBUs.</para>
|
---|
[73aedd1d] | 63 |
|
---|
[50e693d] | 64 | <para>Install the package:</para>
|
---|
[73aedd1d] | 65 |
|
---|
[0445a3d] | 66 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 67 |
|
---|
[50e693d] | 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 |
|
---|
| 71 | <sect2 id="contents-automake" role="content">
|
---|
| 72 | <title>Contents of Automake</title>
|
---|
| 73 |
|
---|
| 74 | <segmentedlist>
|
---|
| 75 | <segtitle>Installed programs</segtitle>
|
---|
| 76 |
|
---|
| 77 | <seglistitem>
|
---|
| 78 | <seg>acinstall, aclocal, aclocal-&automake-version;, automake,
|
---|
| 79 | automake-&automake-version;, compile, config.guess, config.sub,
|
---|
| 80 | depcomp, elisp-comp, install-sh, mdate-sh, missing, mkinstalldirs,
|
---|
| 81 | py-compile, symlink-tree, and ylwrap</seg>
|
---|
| 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 |
|
---|
| 111 | <varlistentry id="aclocal-version">
|
---|
| 112 | <term><command>aclocal-&automake-version;</command></term>
|
---|
| 113 | <listitem>
|
---|
| 114 | <para>A hard link to <command>aclocal</command></para>
|
---|
| 115 | <indexterm zone="ch-system-automake aclocal-version">
|
---|
| 116 | <primary sortas="b-aclocal-&automake-version;">aclocal-&automake-version;</primary>
|
---|
| 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">
|
---|
| 139 | <term><command>automake-&automake-version;</command></term>
|
---|
| 140 | <listitem>
|
---|
| 141 | <para>A hard link to <command>automake</command></para>
|
---|
| 142 | <indexterm zone="ch-system-automake automake-version">
|
---|
| 143 | <primary sortas="b-automake-&automake-version;">automake-&automake-version;</primary>
|
---|
| 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="elisp-comp">
|
---|
| 191 | <term><command>elisp-comp</command></term>
|
---|
| 192 | <listitem>
|
---|
| 193 | <para>Byte-compiles Emacs Lisp code</para>
|
---|
| 194 | <indexterm zone="ch-system-automake elisp-comp">
|
---|
| 195 | <primary sortas="b-elisp-comp">elisp-comp</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="install-sh">
|
---|
| 201 | <term><command>install-sh</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>A script that installs a program, script, or data file</para>
|
---|
| 204 | <indexterm zone="ch-system-automake install-sh">
|
---|
| 205 | <primary sortas="b-install-sh">install-sh</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="mdate-sh">
|
---|
| 211 | <term><command>mdate-sh</command></term>
|
---|
| 212 | <listitem>
|
---|
| 213 | <para>A script that prints the modification time of a file or
|
---|
| 214 | directory</para>
|
---|
| 215 | <indexterm zone="ch-system-automake mdate-sh">
|
---|
| 216 | <primary sortas="b-mdate-sh">mdate-sh</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="missing">
|
---|
| 222 | <term><command>missing</command></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>A script acting as a common stub for missing GNU programs during
|
---|
| 225 | an installation</para>
|
---|
| 226 | <indexterm zone="ch-system-automake missing">
|
---|
| 227 | <primary sortas="b-missing">missing</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
| 232 | <varlistentry id="mkinstalldirs">
|
---|
| 233 | <term><command>mkinstalldirs</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>A script that creates a directory tree</para>
|
---|
| 236 | <indexterm zone="ch-system-automake mkinstalldirs">
|
---|
| 237 | <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
| 241 |
|
---|
| 242 | <varlistentry id="py-compile">
|
---|
| 243 | <term><command>py-compile</command></term>
|
---|
| 244 | <listitem>
|
---|
| 245 | <para>Compiles a Python program</para>
|
---|
| 246 | <indexterm zone="ch-system-automake py-compile">
|
---|
| 247 | <primary sortas="b-py-compile">py-compile</primary>
|
---|
| 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
| 251 |
|
---|
| 252 | <varlistentry id="symlink-tree">
|
---|
| 253 | <term><command>symlink-tree</command></term>
|
---|
| 254 | <listitem>
|
---|
| 255 | <para>A script to create a symlink tree of a directory tree</para>
|
---|
| 256 | <indexterm zone="ch-system-automake symlink-tree">
|
---|
| 257 | <primary sortas="b-symlink-tree">symlink-tree</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
| 261 |
|
---|
| 262 | <varlistentry id="ylwrap">
|
---|
| 263 | <term><command>ylwrap</command></term>
|
---|
| 264 | <listitem>
|
---|
| 265 | <para>A wrapper for <command>lex</command> and
|
---|
| 266 | <command>yacc</command></para>
|
---|
| 267 | <indexterm zone="ch-system-automake ylwrap">
|
---|
| 268 | <primary sortas="b-ylwrap">ylwrap</primary>
|
---|
| 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
| 273 | </variablelist>
|
---|
| 274 |
|
---|
| 275 | </sect2>
|
---|
[673b0d8] | 276 |
|
---|
| 277 | </sect1>
|
---|