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