| 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
 | 
|---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 | 
|---|
| 3 |   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
 | 
|---|
| 4 |   <!ENTITY % general-entities SYSTEM "../../general.ent">
 | 
|---|
| 5 |   %general-entities;
 | 
|---|
| 6 | ]>
 | 
|---|
| 7 | 
 | 
|---|
| 8 | <sect1 id="ch-system-automake" role="wrap">
 | 
|---|
| 9 |   <?dbhtml filename="automake.html"?>
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   <title>Automake-&automake-version;</title>
 | 
|---|
| 12 | 
 | 
|---|
| 13 |   <indexterm zone="ch-system-automake">
 | 
|---|
| 14 |     <primary sortas="a-Automake">Automake</primary>
 | 
|---|
| 15 |   </indexterm>
 | 
|---|
| 16 | 
 | 
|---|
| 17 |   <sect2 role="package">
 | 
|---|
| 18 |     <title/>
 | 
|---|
| 19 | 
 | 
|---|
| 20 |     <para>The Automake package contains programs for generating Makefiles
 | 
|---|
| 21 |     for use with Autoconf.</para>
 | 
|---|
| 22 | 
 | 
|---|
| 23 |     <segmentedlist>
 | 
|---|
| 24 |       <segtitle>&dependencies;</segtitle>
 | 
|---|
| 25 | 
 | 
|---|
| 26 |       <seglistitem>
 | 
|---|
| 27 |         <seg>Autoconf, Bash, Coreutils, Diffutils, Grep, M4, Make, Perl,
 | 
|---|
| 28 |         and Sed</seg>
 | 
|---|
| 29 |       </seglistitem>
 | 
|---|
| 30 |     </segmentedlist>
 | 
|---|
| 31 | 
 | 
|---|
| 32 |   </sect2>
 | 
|---|
| 33 | 
 | 
|---|
| 34 |   <sect2 role="installation">
 | 
|---|
| 35 |     <title>Installation of Automake</title>
 | 
|---|
| 36 | 
 | 
|---|
| 37 |     <para os="a">Prepare Automake for compilation:</para>
 | 
|---|
| 38 | 
 | 
|---|
| 39 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
 | 
|---|
| 40 | 
 | 
|---|
| 41 |     <para os="c">Compile the package:</para>
 | 
|---|
| 42 | 
 | 
|---|
| 43 | <screen os="d"><userinput>make</userinput></screen>
 | 
|---|
| 44 | 
 | 
|---|
| 45 |     <para os="e">To test the results, issue:
 | 
|---|
| 46 |     <userinput>make check</userinput>.</para>
 | 
|---|
| 47 | 
 | 
|---|
| 48 |     <para os="f">Install the package:</para>
 | 
|---|
| 49 | 
 | 
|---|
| 50 | <screen os="g"><userinput>make install</userinput></screen>
 | 
|---|
| 51 | 
 | 
|---|
| 52 |   </sect2>
 | 
|---|
| 53 | 
 | 
|---|
| 54 |   <sect2 id="contents-automake" role="content">
 | 
|---|
| 55 |     <title>Contents of Automake</title>
 | 
|---|
| 56 | 
 | 
|---|
| 57 |     <segmentedlist>
 | 
|---|
| 58 |       <segtitle>Installed programs</segtitle>
 | 
|---|
| 59 | 
 | 
|---|
| 60 |       <seglistitem>
 | 
|---|
| 61 |         <seg>acinstall, aclocal, aclocal-&automake-version;, automake,
 | 
|---|
| 62 |         automake-&automake-version;, compile, config.guess, config.sub,
 | 
|---|
| 63 |         depcomp, elisp-comp, install-sh, mdate-sh, missing, mkinstalldirs,
 | 
|---|
| 64 |         py-compile, symlink-tree, and ylwrap</seg>
 | 
|---|
| 65 |       </seglistitem>
 | 
|---|
| 66 |     </segmentedlist>
 | 
|---|
| 67 | 
 | 
|---|
| 68 |     <variablelist>
 | 
|---|
| 69 |       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
 | 
|---|
| 70 |       <?dbfo list-presentation="list"?>
 | 
|---|
| 71 |       <?dbhtml list-presentation="table"?>
 | 
|---|
| 72 | 
 | 
|---|
| 73 |       <varlistentry id="acinstall">
 | 
|---|
| 74 |         <term><command>acinstall</command></term>
 | 
|---|
| 75 |         <listitem>
 | 
|---|
| 76 |           <para>A script that installs aclocal-style M4 files</para>
 | 
|---|
| 77 |           <indexterm zone="ch-system-automake acinstall">
 | 
|---|
| 78 |             <primary sortas="b-acinstall">acinstall</primary>
 | 
|---|
| 79 |           </indexterm>
 | 
|---|
| 80 |         </listitem>
 | 
|---|
| 81 |       </varlistentry>
 | 
|---|
| 82 | 
 | 
|---|
| 83 |       <varlistentry id="aclocal">
 | 
|---|
| 84 |         <term><command>aclocal</command></term>
 | 
|---|
| 85 |         <listitem>
 | 
|---|
| 86 |           <para>Generates <filename>aclocal.m4</filename> files based on the
 | 
|---|
| 87 |           contents of <filename>configure.in</filename> files</para>
 | 
|---|
| 88 |           <indexterm zone="ch-system-automake aclocal">
 | 
|---|
| 89 |             <primary sortas="b-aclocal">aclocal</primary>
 | 
|---|
| 90 |           </indexterm>
 | 
|---|
| 91 |         </listitem>
 | 
|---|
| 92 |       </varlistentry>
 | 
|---|
| 93 | 
 | 
|---|
| 94 |       <varlistentry id="aclocal-version">
 | 
|---|
| 95 |         <term><command>aclocal-&automake-version;</command></term>
 | 
|---|
| 96 |         <listitem>
 | 
|---|
| 97 |           <para>A hard link to <command>aclocal</command></para>
 | 
|---|
| 98 |           <indexterm zone="ch-system-automake aclocal-version">
 | 
|---|
| 99 |             <primary
 | 
|---|
| 100 |             sortas="b-aclocal-&automake-version;">aclocal-&automake-version;</primary>
 | 
|---|
| 101 |           </indexterm>
 | 
|---|
| 102 |         </listitem>
 | 
|---|
| 103 |       </varlistentry>
 | 
|---|
| 104 | 
 | 
|---|
| 105 |       <varlistentry id="automake">
 | 
|---|
| 106 |         <term><command>automake</command></term>
 | 
|---|
| 107 |         <listitem>
 | 
|---|
| 108 |           <para>A tool for automatically generating
 | 
|---|
| 109 |           <filename>Makefile.in</filename> files from
 | 
|---|
| 110 |           <filename>Makefile.am</filename> files. To create all the
 | 
|---|
| 111 |           <filename>Makefile.in</filename> files for a package, run this
 | 
|---|
| 112 |           program in the top-level directory. By scanning the
 | 
|---|
| 113 |           <filename>configure.in</filename> file, it automatically finds
 | 
|---|
| 114 |           each appropriate <filename>Makefile.am</filename> file and generates
 | 
|---|
| 115 |           the corresponding <filename>Makefile.in</filename> file</para>
 | 
|---|
| 116 |           <indexterm zone="ch-system-automake automake">
 | 
|---|
| 117 |             <primary sortas="b-automake">automake</primary>
 | 
|---|
| 118 |           </indexterm>
 | 
|---|
| 119 |         </listitem>
 | 
|---|
| 120 |       </varlistentry>
 | 
|---|
| 121 | 
 | 
|---|
| 122 |       <varlistentry id="automake-version">
 | 
|---|
| 123 |         <term><command>automake-&automake-version;</command></term>
 | 
|---|
| 124 |         <listitem>
 | 
|---|
| 125 |           <para>A hard link to <command>automake</command></para>
 | 
|---|
| 126 |           <indexterm zone="ch-system-automake automake-version">
 | 
|---|
| 127 |             <primary
 | 
|---|
| 128 |             sortas="b-automake-&automake-version;">automake-&automake-version;</primary>
 | 
|---|
| 129 |           </indexterm>
 | 
|---|
| 130 |         </listitem>
 | 
|---|
| 131 |       </varlistentry>
 | 
|---|
| 132 | 
 | 
|---|
| 133 |       <varlistentry id="compile">
 | 
|---|
| 134 |         <term><command>compile</command></term>
 | 
|---|
| 135 |         <listitem>
 | 
|---|
| 136 |           <para>A wrapper for compilers</para>
 | 
|---|
| 137 |           <indexterm zone="ch-system-automake compile">
 | 
|---|
| 138 |             <primary sortas="b-compile">compile</primary>
 | 
|---|
| 139 |           </indexterm>
 | 
|---|
| 140 |         </listitem>
 | 
|---|
| 141 |       </varlistentry>
 | 
|---|
| 142 | 
 | 
|---|
| 143 |       <varlistentry id="config.guess">
 | 
|---|
| 144 |         <term><command>config.guess</command></term>
 | 
|---|
| 145 |         <listitem>
 | 
|---|
| 146 |           <para>A script that attempts to guess the canonical triplet for
 | 
|---|
| 147 |           the given build, host, or target architecture</para>
 | 
|---|
| 148 |           <indexterm zone="ch-system-automake config.guess">
 | 
|---|
| 149 |             <primary sortas="b-config.guess">config.guess</primary>
 | 
|---|
| 150 |           </indexterm>
 | 
|---|
| 151 |         </listitem>
 | 
|---|
| 152 |       </varlistentry>
 | 
|---|
| 153 | 
 | 
|---|
| 154 |       <varlistentry id="config.sub">
 | 
|---|
| 155 |         <term><command>config.sub</command></term>
 | 
|---|
| 156 |         <listitem>
 | 
|---|
| 157 |           <para>A configuration validation subroutine script</para>
 | 
|---|
| 158 |           <indexterm zone="ch-system-automake config.sub">
 | 
|---|
| 159 |             <primary sortas="b-config.sub">config.sub</primary>
 | 
|---|
| 160 |           </indexterm>
 | 
|---|
| 161 |         </listitem>
 | 
|---|
| 162 |       </varlistentry>
 | 
|---|
| 163 | 
 | 
|---|
| 164 |       <varlistentry id="depcomp">
 | 
|---|
| 165 |         <term><command>depcomp</command></term>
 | 
|---|
| 166 |         <listitem>
 | 
|---|
| 167 |           <para>A script for compiling a program so that dependency information
 | 
|---|
| 168 |           is generated in addition to the desired output</para>
 | 
|---|
| 169 |           <indexterm zone="ch-system-automake depcomp">
 | 
|---|
| 170 |             <primary sortas="b-depcomp">depcomp</primary>
 | 
|---|
| 171 |           </indexterm>
 | 
|---|
| 172 |         </listitem>
 | 
|---|
| 173 |       </varlistentry>
 | 
|---|
| 174 | 
 | 
|---|
| 175 |       <varlistentry id="elisp-comp">
 | 
|---|
| 176 |         <term><command>elisp-comp</command></term>
 | 
|---|
| 177 |         <listitem>
 | 
|---|
| 178 |           <para>Byte-compiles Emacs Lisp code</para>
 | 
|---|
| 179 |           <indexterm zone="ch-system-automake elisp-comp">
 | 
|---|
| 180 |             <primary sortas="b-elisp-comp">elisp-comp</primary>
 | 
|---|
| 181 |           </indexterm>
 | 
|---|
| 182 |         </listitem>
 | 
|---|
| 183 |       </varlistentry>
 | 
|---|
| 184 | 
 | 
|---|
| 185 |       <varlistentry id="install-sh">
 | 
|---|
| 186 |         <term><command>install-sh</command></term>
 | 
|---|
| 187 |         <listitem>
 | 
|---|
| 188 |           <para>A script that installs a program, script, or data file</para>
 | 
|---|
| 189 |           <indexterm zone="ch-system-automake install-sh">
 | 
|---|
| 190 |             <primary sortas="b-install-sh">install-sh</primary>
 | 
|---|
| 191 |           </indexterm>
 | 
|---|
| 192 |         </listitem>
 | 
|---|
| 193 |       </varlistentry>
 | 
|---|
| 194 | 
 | 
|---|
| 195 |       <varlistentry id="mdate-sh">
 | 
|---|
| 196 |         <term><command>mdate-sh</command></term>
 | 
|---|
| 197 |         <listitem>
 | 
|---|
| 198 |           <para>A script that prints the modification time of a file or
 | 
|---|
| 199 |           directory</para>
 | 
|---|
| 200 |           <indexterm zone="ch-system-automake mdate-sh">
 | 
|---|
| 201 |             <primary sortas="b-mdate-sh">mdate-sh</primary>
 | 
|---|
| 202 |           </indexterm>
 | 
|---|
| 203 |         </listitem>
 | 
|---|
| 204 |       </varlistentry>
 | 
|---|
| 205 | 
 | 
|---|
| 206 |       <varlistentry id="missing">
 | 
|---|
| 207 |         <term><command>missing</command></term>
 | 
|---|
| 208 |         <listitem>
 | 
|---|
| 209 |           <para>A script acting as a common stub for missing GNU programs during
 | 
|---|
| 210 |           an installation</para>
 | 
|---|
| 211 |           <indexterm zone="ch-system-automake missing">
 | 
|---|
| 212 |             <primary sortas="b-missing">missing</primary>
 | 
|---|
| 213 |           </indexterm>
 | 
|---|
| 214 |         </listitem>
 | 
|---|
| 215 |       </varlistentry>
 | 
|---|
| 216 | 
 | 
|---|
| 217 |       <varlistentry id="mkinstalldirs">
 | 
|---|
| 218 |         <term><command>mkinstalldirs</command></term>
 | 
|---|
| 219 |         <listitem>
 | 
|---|
| 220 |           <para>A script that creates a directory tree</para>
 | 
|---|
| 221 |           <indexterm zone="ch-system-automake mkinstalldirs">
 | 
|---|
| 222 |             <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
 | 
|---|
| 223 |           </indexterm>
 | 
|---|
| 224 |         </listitem>
 | 
|---|
| 225 |       </varlistentry>
 | 
|---|
| 226 | 
 | 
|---|
| 227 |       <varlistentry id="py-compile">
 | 
|---|
| 228 |         <term><command>py-compile</command></term>
 | 
|---|
| 229 |         <listitem>
 | 
|---|
| 230 |           <para>Compiles a Python program</para>
 | 
|---|
| 231 |           <indexterm zone="ch-system-automake py-compile">
 | 
|---|
| 232 |             <primary sortas="b-py-compile">py-compile</primary>
 | 
|---|
| 233 |           </indexterm>
 | 
|---|
| 234 |         </listitem>
 | 
|---|
| 235 |       </varlistentry>
 | 
|---|
| 236 | 
 | 
|---|
| 237 |       <varlistentry id="symlink-tree">
 | 
|---|
| 238 |         <term><command>symlink-tree</command></term>
 | 
|---|
| 239 |         <listitem>
 | 
|---|
| 240 |           <para>A script to create a symlink tree of a directory tree</para>
 | 
|---|
| 241 |           <indexterm zone="ch-system-automake symlink-tree">
 | 
|---|
| 242 |             <primary sortas="b-symlink-tree">symlink-tree</primary>
 | 
|---|
| 243 |           </indexterm>
 | 
|---|
| 244 |         </listitem>
 | 
|---|
| 245 |       </varlistentry>
 | 
|---|
| 246 | 
 | 
|---|
| 247 |       <varlistentry id="ylwrap">
 | 
|---|
| 248 |         <term><command>ylwrap</command></term>
 | 
|---|
| 249 |         <listitem>
 | 
|---|
| 250 |           <para>A wrapper for <command>lex</command> and
 | 
|---|
| 251 |           <command>yacc</command></para>
 | 
|---|
| 252 |           <indexterm zone="ch-system-automake ylwrap">
 | 
|---|
| 253 |             <primary sortas="b-ylwrap">ylwrap</primary>
 | 
|---|
| 254 |           </indexterm>
 | 
|---|
| 255 |         </listitem>
 | 
|---|
| 256 |       </varlistentry>
 | 
|---|
| 257 | 
 | 
|---|
| 258 |     </variablelist>
 | 
|---|
| 259 | 
 | 
|---|
| 260 |   </sect2>
 | 
|---|
| 261 | 
 | 
|---|
| 262 | </sect1>
 | 
|---|