[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[a001133] | 6 | <sect1 id="ch-system-automake" xreflabel="Automake" role="wrap">
|
---|
[673b0d8] | 7 | <title>Automake-&automake-version;</title>
|
---|
| 8 | <?dbhtml filename="automake.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-automake"><primary sortas="a-Automake">Automake</primary></indexterm>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[5888299] | 13 | <para>The Automake package contains programs for generating Makefiles for use
|
---|
| 14 | with Autoconf.</para>
|
---|
| 15 |
|
---|
[a001133] | 16 | <segmentedlist>
|
---|
| 17 | <segtitle>&buildtime;</segtitle>
|
---|
| 18 | <segtitle>&diskspace;</segtitle>
|
---|
| 19 | <seglistitem><seg>0.2 SBU</seg><seg>6.8 MB</seg></seglistitem>
|
---|
| 20 | </segmentedlist>
|
---|
| 21 |
|
---|
| 22 | <segmentedlist>
|
---|
| 23 | <segtitle>Automake installation depends on</segtitle>
|
---|
| 24 | <seglistitem><seg>Autoconf, Bash, Coreutils,
|
---|
| 25 | Diffutils, Grep, M4, Make, Perl, Sed</seg></seglistitem>
|
---|
| 26 | </segmentedlist>
|
---|
| 27 | </sect2>
|
---|
[73aedd1d] | 28 |
|
---|
[a001133] | 29 | <sect2 role="installation">
|
---|
[73aedd1d] | 30 | <title>Installation of Automake</title>
|
---|
| 31 |
|
---|
| 32 | <para>Prepare Automake for compilation:</para>
|
---|
| 33 |
|
---|
| 34 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para>Compile the package:</para>
|
---|
| 37 |
|
---|
| 38 | <screen><userinput>make</userinput></screen>
|
---|
| 39 |
|
---|
[673b0d8] | 40 | <para>To test the results, issue:
|
---|
[c76accc] | 41 | <userinput>make check</userinput>. This takes a long time, about 5 SBUs.</para>
|
---|
[73aedd1d] | 42 |
|
---|
| 43 | <para>Install the package:</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput>make install</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | </sect2>
|
---|
[6370fa6] | 48 |
|
---|
[5888299] | 49 |
|
---|
[c6cb3aa] | 50 | <sect2 id="contents-automake" role="content"><title>Contents of Automake</title>
|
---|
[673b0d8] | 51 |
|
---|
[c6cb3aa] | 52 | <segmentedlist>
|
---|
| 53 | <segtitle>Installed programs</segtitle>
|
---|
| 54 | <seglistitem><seg>acinstall, aclocal, aclocal-1.8, automake, automake-1.8,
|
---|
| 55 | compile, config.guess, config.sub, depcomp, elisp-comp, install-sh, mdate-sh,
|
---|
| 56 | missing, mkinstalldirs, py-compile, symlink-tree, ylwrap</seg></seglistitem>
|
---|
| 57 | </segmentedlist>
|
---|
[673b0d8] | 58 |
|
---|
[c6cb3aa] | 59 | <variablelist><title>Short descriptions</title>
|
---|
[673b0d8] | 60 |
|
---|
[b8a819f] | 61 | <varlistentry id="acinstall">
|
---|
| 62 | <term><command>acinstall</command></term>
|
---|
[c6cb3aa] | 63 | <listitem>
|
---|
[673b0d8] | 64 | <indexterm zone="ch-system-automake acinstall"><primary sortas="b-acinstall">acinstall</primary></indexterm>
|
---|
[ef13657] | 65 | <para>a script that installs aclocal-style M4 files.</para>
|
---|
[c6cb3aa] | 66 | </listitem>
|
---|
| 67 | </varlistentry>
|
---|
[673b0d8] | 68 |
|
---|
[b8a819f] | 69 | <varlistentry id="aclocal">
|
---|
| 70 | <term><command>aclocal</command></term>
|
---|
[c6cb3aa] | 71 | <listitem>
|
---|
[673b0d8] | 72 | <indexterm zone="ch-system-automake aclocal"><primary sortas="b-aclocal">aclocal</primary></indexterm>
|
---|
[c6cb3aa] | 73 | <para>generates <filename>aclocal.m4</filename>
|
---|
[673b0d8] | 74 | files based on the contents of <filename>configure.in</filename> files.</para>
|
---|
[c6cb3aa] | 75 | </listitem>
|
---|
| 76 | </varlistentry>
|
---|
[673b0d8] | 77 |
|
---|
[b8a819f] | 78 | <varlistentry id="automake">
|
---|
| 79 | <term><command>automake</command></term>
|
---|
[c6cb3aa] | 80 | <listitem>
|
---|
[673b0d8] | 81 | <indexterm zone="ch-system-automake automake"><primary sortas="b-automake">automake</primary></indexterm>
|
---|
[ef13657] | 82 | <para>a tool for automatically generating
|
---|
| 83 | <filename>Makefile.in</filename> files from
|
---|
| 84 | <filename>Makefile.am</filename> files. To create all the
|
---|
| 85 | <filename>Makefile.in</filename> files for a package, run this program
|
---|
| 86 | in the top-level directory. By scanning the
|
---|
| 87 | <filename>configure.in</filename> file, it automatically finds each
|
---|
| 88 | appropriate <filename>Makefile.am</filename> file and generate the
|
---|
| 89 | corresponding <filename>Makefile.in</filename> file.</para>
|
---|
[c6cb3aa] | 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
[673b0d8] | 92 |
|
---|
[b8a819f] | 93 | <varlistentry id="compile">
|
---|
| 94 | <term><command>compile</command></term>
|
---|
[c6cb3aa] | 95 | <listitem>
|
---|
[673b0d8] | 96 | <indexterm zone="ch-system-automake compile"><primary sortas="b-compile">compile</primary></indexterm>
|
---|
[ef13657] | 97 | <para>a wrapper for compilers.</para>
|
---|
[c6cb3aa] | 98 | </listitem>
|
---|
| 99 | </varlistentry>
|
---|
[673b0d8] | 100 |
|
---|
[b8a819f] | 101 | <varlistentry id="config.guess">
|
---|
| 102 | <term><command>config.guess</command> </term>
|
---|
[c6cb3aa] | 103 | <listitem>
|
---|
[673b0d8] | 104 | <indexterm zone="ch-system-automake config.guess"><primary sortas="b-config.guess">config.guess</primary></indexterm>
|
---|
[ef13657] | 105 | <para>a script that attempts to guess
|
---|
[673b0d8] | 106 | the canonical triplet for the given build, host, or target architecture.</para>
|
---|
[c6cb3aa] | 107 | </listitem>
|
---|
| 108 | </varlistentry>
|
---|
[673b0d8] | 109 |
|
---|
[b8a819f] | 110 | <varlistentry id="config.su">
|
---|
| 111 | <term><command>config.sub</command></term>
|
---|
[c6cb3aa] | 112 | <listitem>
|
---|
[673b0d8] | 113 | <indexterm zone="ch-system-automake config.su"><primary sortas="b-config.su">config.su</primary></indexterm>
|
---|
[ef13657] | 114 | <para>a configuration validation subroutine script.</para>
|
---|
[c6cb3aa] | 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
[673b0d8] | 117 |
|
---|
[b8a819f] | 118 | <varlistentry id="depcomp">
|
---|
| 119 | <term><command>depcomp</command></term>
|
---|
[c6cb3aa] | 120 | <listitem>
|
---|
[673b0d8] | 121 | <indexterm zone="ch-system-automake depcomp"><primary sortas="b-depcomp">depcomp</primary></indexterm>
|
---|
[ef13657] | 122 | <para>a script for compiling a program so that dependency information
|
---|
| 123 | is generated in addition to the desired output.</para>
|
---|
[c6cb3aa] | 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
| 126 |
|
---|
[b8a819f] | 127 | <varlistentry id="elisp-comp">
|
---|
| 128 | <term><command>elisp-comp</command></term>
|
---|
[c6cb3aa] | 129 | <listitem>
|
---|
[673b0d8] | 130 | <indexterm zone="ch-system-automake elisp-comp"><primary sortas="b-elisp-comp">elisp-comp</primary></indexterm>
|
---|
[c6cb3aa] | 131 | <para>byte-compiles Emacs Lisp code.</para>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
[673b0d8] | 134 |
|
---|
[b8a819f] | 135 | <varlistentry id="install-sh">
|
---|
| 136 | <term><command>install-sh</command></term>
|
---|
[c6cb3aa] | 137 | <listitem>
|
---|
[673b0d8] | 138 | <indexterm zone="ch-system-automake install-sh"><primary sortas="b-install-sh">install-sh</primary></indexterm>
|
---|
[ef13657] | 139 | <para>a script that installs a program, a script, or a data file.</para>
|
---|
[c6cb3aa] | 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
[673b0d8] | 142 |
|
---|
[b8a819f] | 143 | <varlistentry id="mdate-sh">
|
---|
| 144 | <term><command>mdate-sh</command></term>
|
---|
[c6cb3aa] | 145 | <listitem>
|
---|
[673b0d8] | 146 | <indexterm zone="ch-system-automake mdate-sh"><primary sortas="b-mdate-sh">mdate-sh</primary></indexterm>
|
---|
[ef13657] | 147 | <para>a script that prints the modification time of a file or directory.</para>
|
---|
[c6cb3aa] | 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
[673b0d8] | 150 |
|
---|
[b8a819f] | 151 | <varlistentry id="missing">
|
---|
| 152 | <term><command>missing</command></term>
|
---|
[c6cb3aa] | 153 | <listitem>
|
---|
[673b0d8] | 154 | <indexterm zone="ch-system-automake missing"><primary sortas="b-missing">missing</primary></indexterm>
|
---|
[ef13657] | 155 | <para>a script acting as a common stub for missing GNU programs during
|
---|
| 156 | an installation.</para>
|
---|
[c6cb3aa] | 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
[673b0d8] | 159 |
|
---|
[b8a819f] | 160 | <varlistentry id="mkinstalldirs">
|
---|
| 161 | <term><command>mkinstalldirs</command></term>
|
---|
[c6cb3aa] | 162 | <listitem>
|
---|
[673b0d8] | 163 | <indexterm zone="ch-system-automake mkinstalldirs"><primary sortas="b-mkinstalldirs">mkinstalldirs</primary></indexterm>
|
---|
[ef13657] | 164 | <para>a script that creates a directory tree.</para>
|
---|
[c6cb3aa] | 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
[673b0d8] | 167 |
|
---|
[b8a819f] | 168 | <varlistentry id="py-compile">
|
---|
| 169 | <term><command>py-compile</command></term>
|
---|
[c6cb3aa] | 170 | <listitem>
|
---|
[673b0d8] | 171 | <indexterm zone="ch-system-automake py-compile"><primary sortas="b-py-compile">py-compile</primary></indexterm>
|
---|
[c6cb3aa] | 172 | <para>compiles a Python program.</para>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
[673b0d8] | 175 |
|
---|
[b8a819f] | 176 | <varlistentry id="symlink-tree">
|
---|
| 177 | <term><command>symlink-tree</command></term>
|
---|
[c6cb3aa] | 178 | <listitem>
|
---|
[673b0d8] | 179 | <indexterm zone="ch-system-automake symlink-tree"><primary sortas="b-symlink-tree">symlink-tree</primary></indexterm>
|
---|
[ef13657] | 180 | <para>a script to create a symlink tree of a directory tree.</para>
|
---|
[c6cb3aa] | 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
[673b0d8] | 183 |
|
---|
[b8a819f] | 184 | <varlistentry id="ylwrap">
|
---|
| 185 | <term><command>ylwrap</command></term>
|
---|
[c6cb3aa] | 186 | <listitem>
|
---|
[673b0d8] | 187 | <indexterm zone="ch-system-automake ylwrap"><primary sortas="b-ylwrap">ylwrap</primary></indexterm>
|
---|
[ef13657] | 188 | <para>a wrapper for <command>lex</command> and <command>yacc</command>.</para>
|
---|
[c6cb3aa] | 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 | </variablelist>
|
---|
[673b0d8] | 192 |
|
---|
| 193 | </sect2>
|
---|
| 194 |
|
---|
| 195 | </sect1>
|
---|
[ef13657] | 196 |
|
---|