[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>
|
---|
[c6cb3aa] | 65 | <para>is a script that installs aclocal-style M4 files.</para>
|
---|
| 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>
|
---|
[c6cb3aa] | 82 | <para>is a tool for automatically generating
|
---|
[673b0d8] | 83 | <filename>Makefile.in</filename>'s from files called
|
---|
| 84 | <filename>Makefile.am</filename>. To create all the
|
---|
| 85 | <filename>Makefile.in</filename> files for a package, run this program in the
|
---|
| 86 | top-level directory. By scanning the <filename>configure.in</filename>s it
|
---|
| 87 | automatically finds each appropriate <filename>Makefile.am</filename> and
|
---|
| 88 | generate the corresponding <filename>Makefile.in</filename>.</para>
|
---|
[c6cb3aa] | 89 | </listitem>
|
---|
| 90 | </varlistentry>
|
---|
[673b0d8] | 91 |
|
---|
[b8a819f] | 92 | <varlistentry id="compile">
|
---|
| 93 | <term><command>compile</command></term>
|
---|
[c6cb3aa] | 94 | <listitem>
|
---|
[673b0d8] | 95 | <indexterm zone="ch-system-automake compile"><primary sortas="b-compile">compile</primary></indexterm>
|
---|
[c6cb3aa] | 96 | <para>is a wrapper for compilers.</para>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
[673b0d8] | 99 |
|
---|
[b8a819f] | 100 | <varlistentry id="config.guess">
|
---|
| 101 | <term><command>config.guess</command> </term>
|
---|
[c6cb3aa] | 102 | <listitem>
|
---|
[673b0d8] | 103 | <indexterm zone="ch-system-automake config.guess"><primary sortas="b-config.guess">config.guess</primary></indexterm>
|
---|
[c6cb3aa] | 104 | <para>is a script that attempts to guess
|
---|
[673b0d8] | 105 | the canonical triplet for the given build, host, or target architecture.</para>
|
---|
[c6cb3aa] | 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
[673b0d8] | 108 |
|
---|
[b8a819f] | 109 | <varlistentry id="config.su">
|
---|
| 110 | <term><command>config.sub</command></term>
|
---|
[c6cb3aa] | 111 | <listitem>
|
---|
[673b0d8] | 112 | <indexterm zone="ch-system-automake config.su"><primary sortas="b-config.su">config.su</primary></indexterm>
|
---|
[c6cb3aa] | 113 | <para>is a configuration validation subroutine script.</para>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
[673b0d8] | 116 |
|
---|
[b8a819f] | 117 | <varlistentry id="depcomp">
|
---|
| 118 | <term><command>depcomp</command></term>
|
---|
[c6cb3aa] | 119 | <listitem>
|
---|
[673b0d8] | 120 | <indexterm zone="ch-system-automake depcomp"><primary sortas="b-depcomp">depcomp</primary></indexterm>
|
---|
[c6cb3aa] | 121 | <para>is a script for compiling a program so that not only the desired output is
|
---|
| 122 | generated, but also dependency information.</para>
|
---|
| 123 | </listitem>
|
---|
| 124 | </varlistentry>
|
---|
| 125 |
|
---|
[b8a819f] | 126 | <varlistentry id="elisp-comp">
|
---|
| 127 | <term><command>elisp-comp</command></term>
|
---|
[c6cb3aa] | 128 | <listitem>
|
---|
[673b0d8] | 129 | <indexterm zone="ch-system-automake elisp-comp"><primary sortas="b-elisp-comp">elisp-comp</primary></indexterm>
|
---|
[c6cb3aa] | 130 | <para>byte-compiles Emacs Lisp code.</para>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
[673b0d8] | 133 |
|
---|
[b8a819f] | 134 | <varlistentry id="install-sh">
|
---|
| 135 | <term><command>install-sh</command></term>
|
---|
[c6cb3aa] | 136 | <listitem>
|
---|
[673b0d8] | 137 | <indexterm zone="ch-system-automake install-sh"><primary sortas="b-install-sh">install-sh</primary></indexterm>
|
---|
[c6cb3aa] | 138 | <para>is a script that installs a program, a script, or a datafile.</para>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
[673b0d8] | 141 |
|
---|
[b8a819f] | 142 | <varlistentry id="mdate-sh">
|
---|
| 143 | <term><command>mdate-sh</command></term>
|
---|
[c6cb3aa] | 144 | <listitem>
|
---|
[673b0d8] | 145 | <indexterm zone="ch-system-automake mdate-sh"><primary sortas="b-mdate-sh">mdate-sh</primary></indexterm>
|
---|
[c6cb3aa] | 146 | <para>is a script that prints the modification time of a file or directory.</para>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
[673b0d8] | 149 |
|
---|
[b8a819f] | 150 | <varlistentry id="missing">
|
---|
| 151 | <term><command>missing</command></term>
|
---|
[c6cb3aa] | 152 | <listitem>
|
---|
[673b0d8] | 153 | <indexterm zone="ch-system-automake missing"><primary sortas="b-missing">missing</primary></indexterm>
|
---|
[c6cb3aa] | 154 | <para>is a script acting as a common stub for
|
---|
[673b0d8] | 155 | missing GNU programs during an installation.</para>
|
---|
[c6cb3aa] | 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
[673b0d8] | 158 |
|
---|
[b8a819f] | 159 | <varlistentry id="mkinstalldirs">
|
---|
| 160 | <term><command>mkinstalldirs</command></term>
|
---|
[c6cb3aa] | 161 | <listitem>
|
---|
[673b0d8] | 162 | <indexterm zone="ch-system-automake mkinstalldirs"><primary sortas="b-mkinstalldirs">mkinstalldirs</primary></indexterm>
|
---|
[c6cb3aa] | 163 | <para>is a script that creates a directory tree.</para>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
[673b0d8] | 166 |
|
---|
[b8a819f] | 167 | <varlistentry id="py-compile">
|
---|
| 168 | <term><command>py-compile</command></term>
|
---|
[c6cb3aa] | 169 | <listitem>
|
---|
[673b0d8] | 170 | <indexterm zone="ch-system-automake py-compile"><primary sortas="b-py-compile">py-compile</primary></indexterm>
|
---|
[c6cb3aa] | 171 | <para>compiles a Python program.</para>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
[673b0d8] | 174 |
|
---|
[b8a819f] | 175 | <varlistentry id="symlink-tree">
|
---|
| 176 | <term><command>symlink-tree</command></term>
|
---|
[c6cb3aa] | 177 | <listitem>
|
---|
[673b0d8] | 178 | <indexterm zone="ch-system-automake symlink-tree"><primary sortas="b-symlink-tree">symlink-tree</primary></indexterm>
|
---|
[c6cb3aa] | 179 | <para>is a script to create a symlink tree of a directory tree.</para>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
[673b0d8] | 182 |
|
---|
[b8a819f] | 183 | <varlistentry id="ylwrap">
|
---|
| 184 | <term><command>ylwrap</command></term>
|
---|
[c6cb3aa] | 185 | <listitem>
|
---|
[673b0d8] | 186 | <indexterm zone="ch-system-automake ylwrap"><primary sortas="b-ylwrap">ylwrap</primary></indexterm>
|
---|
[3c928f1] | 187 | <para>is a wrapper for <command>lex</command> and <command>yacc</command>.</para>
|
---|
[c6cb3aa] | 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 | </variablelist>
|
---|
[673b0d8] | 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | </sect1>
|
---|