[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 |
|
---|
[7b08ae24] | 52 | <note><para>The tests take a very long time: over 30 SBUs. Running
|
---|
| 53 | the tests is not recommended.</para></note>
|
---|
| 54 |
|
---|
[0445a3d] | 55 | <para>To test the results, issue:</para>
|
---|
| 56 |
|
---|
| 57 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 58 |
|
---|
[50e693d] | 59 | <para>Install the package:</para>
|
---|
[73aedd1d] | 60 |
|
---|
[0445a3d] | 61 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 62 |
|
---|
[50e693d] | 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 |
|
---|
| 66 | <sect2 id="contents-automake" role="content">
|
---|
| 67 | <title>Contents of Automake</title>
|
---|
| 68 |
|
---|
| 69 | <segmentedlist>
|
---|
| 70 | <segtitle>Installed programs</segtitle>
|
---|
[fe05b08] | 71 | <segtitle>Installed directories</segtitle>
|
---|
[50e693d] | 72 |
|
---|
| 73 | <seglistitem>
|
---|
[970a126] | 74 | <seg>acinstall, aclocal, aclocal-&am-minor-version;, automake,
|
---|
| 75 | automake-&am-minor-version;, compile, config.guess, config.sub,
|
---|
[50e693d] | 76 | depcomp, elisp-comp, install-sh, mdate-sh, missing, mkinstalldirs,
|
---|
| 77 | py-compile, symlink-tree, and ylwrap</seg>
|
---|
[970a126] | 78 | <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;,
|
---|
[fe05b08] | 79 | /usr/share/doc/automake-&automake-version;</seg>
|
---|
[50e693d] | 80 | </seglistitem>
|
---|
| 81 | </segmentedlist>
|
---|
| 82 |
|
---|
| 83 | <variablelist>
|
---|
| 84 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 85 | <?dbfo list-presentation="list"?>
|
---|
| 86 | <?dbhtml list-presentation="table"?>
|
---|
| 87 |
|
---|
| 88 | <varlistentry id="acinstall">
|
---|
| 89 | <term><command>acinstall</command></term>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>A script that installs aclocal-style M4 files</para>
|
---|
| 92 | <indexterm zone="ch-system-automake acinstall">
|
---|
| 93 | <primary sortas="b-acinstall">acinstall</primary>
|
---|
| 94 | </indexterm>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 |
|
---|
| 98 | <varlistentry id="aclocal">
|
---|
| 99 | <term><command>aclocal</command></term>
|
---|
| 100 | <listitem>
|
---|
| 101 | <para>Generates <filename>aclocal.m4</filename> files based on the
|
---|
| 102 | contents of <filename>configure.in</filename> files</para>
|
---|
| 103 | <indexterm zone="ch-system-automake aclocal">
|
---|
| 104 | <primary sortas="b-aclocal">aclocal</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
[7a27279c] | 109 | <varlistentry id="aclocalversion">
|
---|
[970a126] | 110 | <term><command>aclocal-&am-minor-version;</command></term>
|
---|
[50e693d] | 111 | <listitem>
|
---|
| 112 | <para>A hard link to <command>aclocal</command></para>
|
---|
[7a27279c] | 113 | <indexterm zone="ch-system-automake aclocalversion">
|
---|
[970a126] | 114 | <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
|
---|
[50e693d] | 115 | </indexterm>
|
---|
| 116 | </listitem>
|
---|
| 117 | </varlistentry>
|
---|
| 118 |
|
---|
| 119 | <varlistentry id="automake">
|
---|
| 120 | <term><command>automake</command></term>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>A tool for automatically generating
|
---|
| 123 | <filename>Makefile.in</filename> files from
|
---|
| 124 | <filename>Makefile.am</filename> files. To create all the
|
---|
| 125 | <filename>Makefile.in</filename> files for a package, run this program
|
---|
| 126 | in the top-level directory. By scanning the
|
---|
| 127 | <filename>configure.in</filename> file, it automatically finds each
|
---|
| 128 | appropriate <filename>Makefile.am</filename> file and generates the
|
---|
| 129 | corresponding <filename>Makefile.in</filename> file</para>
|
---|
| 130 | <indexterm zone="ch-system-automake automake">
|
---|
| 131 | <primary sortas="b-automake">automake</primary>
|
---|
| 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
| 136 | <varlistentry id="automake-version">
|
---|
[970a126] | 137 | <term><command>automake-&am-minor-version;</command></term>
|
---|
[50e693d] | 138 | <listitem>
|
---|
| 139 | <para>A hard link to <command>automake</command></para>
|
---|
| 140 | <indexterm zone="ch-system-automake automake-version">
|
---|
[970a126] | 141 | <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
|
---|
[50e693d] | 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="compile">
|
---|
| 147 | <term><command>compile</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>A wrapper for compilers</para>
|
---|
| 150 | <indexterm zone="ch-system-automake compile">
|
---|
| 151 | <primary sortas="b-compile">compile</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="config.guess">
|
---|
| 157 | <term><command>config.guess</command></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>A script that attempts to guess the canonical triplet for
|
---|
| 160 | the given build, host, or target architecture</para>
|
---|
| 161 | <indexterm zone="ch-system-automake config.guess">
|
---|
| 162 | <primary sortas="b-config.guess">config.guess</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="config.sub">
|
---|
| 168 | <term><command>config.sub</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>A configuration validation subroutine script</para>
|
---|
| 171 | <indexterm zone="ch-system-automake config.sub">
|
---|
| 172 | <primary sortas="b-config.sub">config.sub</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="depcomp">
|
---|
| 178 | <term><command>depcomp</command></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>A script for compiling a program so that dependency information
|
---|
| 181 | is generated in addition to the desired output</para>
|
---|
| 182 | <indexterm zone="ch-system-automake depcomp">
|
---|
| 183 | <primary sortas="b-depcomp">depcomp</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="elisp-comp">
|
---|
| 189 | <term><command>elisp-comp</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>Byte-compiles Emacs Lisp code</para>
|
---|
| 192 | <indexterm zone="ch-system-automake elisp-comp">
|
---|
| 193 | <primary sortas="b-elisp-comp">elisp-comp</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="install-sh">
|
---|
| 199 | <term><command>install-sh</command></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>A script that installs a program, script, or data file</para>
|
---|
| 202 | <indexterm zone="ch-system-automake install-sh">
|
---|
| 203 | <primary sortas="b-install-sh">install-sh</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="mdate-sh">
|
---|
| 209 | <term><command>mdate-sh</command></term>
|
---|
| 210 | <listitem>
|
---|
| 211 | <para>A script that prints the modification time of a file or
|
---|
| 212 | directory</para>
|
---|
| 213 | <indexterm zone="ch-system-automake mdate-sh">
|
---|
| 214 | <primary sortas="b-mdate-sh">mdate-sh</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="missing">
|
---|
| 220 | <term><command>missing</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>A script acting as a common stub for missing GNU programs during
|
---|
| 223 | an installation</para>
|
---|
| 224 | <indexterm zone="ch-system-automake missing">
|
---|
| 225 | <primary sortas="b-missing">missing</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
| 230 | <varlistentry id="mkinstalldirs">
|
---|
| 231 | <term><command>mkinstalldirs</command></term>
|
---|
| 232 | <listitem>
|
---|
| 233 | <para>A script that creates a directory tree</para>
|
---|
| 234 | <indexterm zone="ch-system-automake mkinstalldirs">
|
---|
| 235 | <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="py-compile">
|
---|
| 241 | <term><command>py-compile</command></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>Compiles a Python program</para>
|
---|
| 244 | <indexterm zone="ch-system-automake py-compile">
|
---|
| 245 | <primary sortas="b-py-compile">py-compile</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
| 250 | <varlistentry id="symlink-tree">
|
---|
| 251 | <term><command>symlink-tree</command></term>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>A script to create a symlink tree of a directory tree</para>
|
---|
| 254 | <indexterm zone="ch-system-automake symlink-tree">
|
---|
| 255 | <primary sortas="b-symlink-tree">symlink-tree</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | <varlistentry id="ylwrap">
|
---|
| 261 | <term><command>ylwrap</command></term>
|
---|
| 262 | <listitem>
|
---|
| 263 | <para>A wrapper for <command>lex</command> and
|
---|
| 264 | <command>yacc</command></para>
|
---|
| 265 | <indexterm zone="ch-system-automake ylwrap">
|
---|
| 266 | <primary sortas="b-ylwrap">ylwrap</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | </variablelist>
|
---|
| 272 |
|
---|
| 273 | </sect2>
|
---|
[673b0d8] | 274 |
|
---|
| 275 | </sect1>
|
---|