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