[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 |
|
---|
[16e8ba1] | 28 | <para os="p1">Apply the following patch to fix outdated syntax that is no
|
---|
| 29 | longer recognized by Perl-&perl-version;.</para>
|
---|
| 30 |
|
---|
| 31 | <screen os="p2"><userinput>patch -Np1 -i ../&automake-perl-patch;</userinput></screen>
|
---|
| 32 |
|
---|
[166f463c] | 33 | <para os="a">Prepare Automake for compilation:</para>
|
---|
| 34 |
|
---|
[b27081c4] | 35 | <screen os="b"><userinput>./configure \
|
---|
| 36 | --prefix=/usr \
|
---|
| 37 | --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
|
---|
[3f8be484] | 38 |
|
---|
[e0e40d3] | 39 | <para os="c">Compile the package:</para>
|
---|
[3f8be484] | 40 |
|
---|
[e0e40d3] | 41 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 42 |
|
---|
[686839b] | 43 | <para os="e">To test the results, issue:</para>
|
---|
| 44 |
|
---|
| 45 | <screen os="e2"><userinput remap="test">make check</userinput></screen>
|
---|
[3f8be484] | 46 |
|
---|
[e0e40d3] | 47 | <para os="f">Install the package:</para>
|
---|
[3f8be484] | 48 |
|
---|
[e0e40d3] | 49 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2 id="contents-automake" role="content">
|
---|
| 54 | <title>Contents of Automake</title>
|
---|
| 55 |
|
---|
| 56 | <segmentedlist>
|
---|
| 57 | <segtitle>Installed programs</segtitle>
|
---|
[61ad0b7f] | 58 | <segtitle>Installed directories</segtitle>
|
---|
[3f8be484] | 59 |
|
---|
| 60 | <seglistitem>
|
---|
[affaea5] | 61 | <seg>aclocal, aclocal-&automake-version2;, automake,
|
---|
[de4bf48] | 62 | automake-&automake-version2;, compile, config.guess, config.sub,
|
---|
[affaea5] | 63 | depcomp, install-sh, mdate-sh, missing, mkinstalldirs,
|
---|
[c2102b28] | 64 | py-compile, symlink-tree, ylwrap</seg>
|
---|
[61ad0b7f] | 65 | <seg>/usr/share/aclocal-&automake-version2;,
|
---|
| 66 | /usr/share/automake-&automake-version2;, /usr/share/doc/automake</seg>
|
---|
[3f8be484] | 67 | </seglistitem>
|
---|
| 68 | </segmentedlist>
|
---|
| 69 |
|
---|
| 70 | <variablelist>
|
---|
| 71 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 72 | <?dbfo list-presentation="list"?>
|
---|
| 73 | <?dbhtml list-presentation="table"?>
|
---|
| 74 |
|
---|
| 75 | <varlistentry id="aclocal">
|
---|
| 76 | <term><command>aclocal</command></term>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>Generates <filename>aclocal.m4</filename> files based on the
|
---|
| 79 | contents of <filename>configure.in</filename> files</para>
|
---|
| 80 | <indexterm zone="ch-system-automake aclocal">
|
---|
| 81 | <primary sortas="b-aclocal">aclocal</primary>
|
---|
| 82 | </indexterm>
|
---|
| 83 | </listitem>
|
---|
| 84 | </varlistentry>
|
---|
| 85 |
|
---|
| 86 | <varlistentry id="aclocal-version">
|
---|
[de4bf48] | 87 | <term><command>aclocal-&automake-version2;</command></term>
|
---|
[3f8be484] | 88 | <listitem>
|
---|
| 89 | <para>A hard link to <command>aclocal</command></para>
|
---|
| 90 | <indexterm zone="ch-system-automake aclocal-version">
|
---|
| 91 | <primary
|
---|
[91edf82] | 92 | sortas="b-aclocal-&automake-version2;">aclocal-&automake-version2;</primary>
|
---|
[3f8be484] | 93 | </indexterm>
|
---|
| 94 | </listitem>
|
---|
| 95 | </varlistentry>
|
---|
| 96 |
|
---|
| 97 | <varlistentry id="automake">
|
---|
| 98 | <term><command>automake</command></term>
|
---|
| 99 | <listitem>
|
---|
| 100 | <para>A tool for automatically generating
|
---|
| 101 | <filename>Makefile.in</filename> files from
|
---|
| 102 | <filename>Makefile.am</filename> files. To create all the
|
---|
| 103 | <filename>Makefile.in</filename> files for a package, run this
|
---|
| 104 | program in the top-level directory. By scanning the
|
---|
| 105 | <filename>configure.in</filename> file, it automatically finds
|
---|
| 106 | each appropriate <filename>Makefile.am</filename> file and generates
|
---|
| 107 | the corresponding <filename>Makefile.in</filename> file</para>
|
---|
| 108 | <indexterm zone="ch-system-automake automake">
|
---|
| 109 | <primary sortas="b-automake">automake</primary>
|
---|
| 110 | </indexterm>
|
---|
| 111 | </listitem>
|
---|
| 112 | </varlistentry>
|
---|
| 113 |
|
---|
| 114 | <varlistentry id="automake-version">
|
---|
[de4bf48] | 115 | <term><command>automake-&automake-version2;</command></term>
|
---|
[3f8be484] | 116 | <listitem>
|
---|
| 117 | <para>A hard link to <command>automake</command></para>
|
---|
| 118 | <indexterm zone="ch-system-automake automake-version">
|
---|
| 119 | <primary
|
---|
[91edf82] | 120 | sortas="b-automake-&automake-version2;">automake-&automake-version2;</primary>
|
---|
[3f8be484] | 121 | </indexterm>
|
---|
| 122 | </listitem>
|
---|
| 123 | </varlistentry>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="compile">
|
---|
| 126 | <term><command>compile</command></term>
|
---|
| 127 | <listitem>
|
---|
| 128 | <para>A wrapper for compilers</para>
|
---|
| 129 | <indexterm zone="ch-system-automake compile">
|
---|
| 130 | <primary sortas="b-compile">compile</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="config.guess">
|
---|
| 136 | <term><command>config.guess</command></term>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para>A script that attempts to guess the canonical triplet for
|
---|
| 139 | the given build, host, or target architecture</para>
|
---|
| 140 | <indexterm zone="ch-system-automake config.guess">
|
---|
| 141 | <primary sortas="b-config.guess">config.guess</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="config.sub">
|
---|
| 147 | <term><command>config.sub</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>A configuration validation subroutine script</para>
|
---|
| 150 | <indexterm zone="ch-system-automake config.sub">
|
---|
| 151 | <primary sortas="b-config.sub">config.sub</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="depcomp">
|
---|
| 157 | <term><command>depcomp</command></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>A script for compiling a program so that dependency information
|
---|
| 160 | is generated in addition to the desired output</para>
|
---|
| 161 | <indexterm zone="ch-system-automake depcomp">
|
---|
| 162 | <primary sortas="b-depcomp">depcomp</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="install-sh">
|
---|
| 168 | <term><command>install-sh</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>A script that installs a program, script, or data file</para>
|
---|
| 171 | <indexterm zone="ch-system-automake install-sh">
|
---|
| 172 | <primary sortas="b-install-sh">install-sh</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="mdate-sh">
|
---|
| 178 | <term><command>mdate-sh</command></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>A script that prints the modification time of a file or
|
---|
| 181 | directory</para>
|
---|
| 182 | <indexterm zone="ch-system-automake mdate-sh">
|
---|
| 183 | <primary sortas="b-mdate-sh">mdate-sh</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="missing">
|
---|
| 189 | <term><command>missing</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>A script acting as a common stub for missing GNU programs during
|
---|
| 192 | an installation</para>
|
---|
| 193 | <indexterm zone="ch-system-automake missing">
|
---|
| 194 | <primary sortas="b-missing">missing</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="mkinstalldirs">
|
---|
| 200 | <term><command>mkinstalldirs</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>A script that creates a directory tree</para>
|
---|
| 203 | <indexterm zone="ch-system-automake mkinstalldirs">
|
---|
| 204 | <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="py-compile">
|
---|
| 210 | <term><command>py-compile</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>Compiles a Python program</para>
|
---|
| 213 | <indexterm zone="ch-system-automake py-compile">
|
---|
| 214 | <primary sortas="b-py-compile">py-compile</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="symlink-tree">
|
---|
| 220 | <term><command>symlink-tree</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>A script to create a symlink tree of a directory tree</para>
|
---|
| 223 | <indexterm zone="ch-system-automake symlink-tree">
|
---|
| 224 | <primary sortas="b-symlink-tree">symlink-tree</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="ylwrap">
|
---|
| 230 | <term><command>ylwrap</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>A wrapper for <command>lex</command> and
|
---|
| 233 | <command>yacc</command></para>
|
---|
| 234 | <indexterm zone="ch-system-automake ylwrap">
|
---|
| 235 | <primary sortas="b-ylwrap">ylwrap</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | </variablelist>
|
---|
| 241 |
|
---|
| 242 | </sect2>
|
---|
| 243 |
|
---|
| 244 | </sect1>
|
---|