1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/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 | <sect1info condition="script">
|
---|
12 | <productname>automake</productname>
|
---|
13 | <productnumber>&automake-version;</productnumber>
|
---|
14 | <address>&automake-url;</address>
|
---|
15 | </sect1info>
|
---|
16 |
|
---|
17 | <title>Automake-&automake-version;</title>
|
---|
18 |
|
---|
19 | <indexterm zone="ch-system-automake">
|
---|
20 | <primary sortas="a-Automake">Automake</primary>
|
---|
21 | </indexterm>
|
---|
22 |
|
---|
23 | <sect2 role="package">
|
---|
24 | <title/>
|
---|
25 |
|
---|
26 | <para>The Automake package contains programs for generating Makefiles for use
|
---|
27 | with Autoconf.</para>
|
---|
28 |
|
---|
29 | <segmentedlist>
|
---|
30 | <segtitle>&buildtime;</segtitle>
|
---|
31 | <segtitle>&diskspace;</segtitle>
|
---|
32 |
|
---|
33 | <seglistitem>
|
---|
34 | <seg>&automake-fin-sbu;</seg>
|
---|
35 | <seg>&automake-fin-du;</seg>
|
---|
36 | </seglistitem>
|
---|
37 | </segmentedlist>
|
---|
38 |
|
---|
39 | </sect2>
|
---|
40 |
|
---|
41 | <sect2 role="installation">
|
---|
42 | <title>Installation of Automake</title>
|
---|
43 | <!--
|
---|
44 | <para>Fix a failing test:</para>
|
---|
45 |
|
---|
46 | <screen><userinput remap="pre">sed -i "s/''/etags/" t/tags-lisp-space.sh</userinput></screen>
|
---|
47 | -->
|
---|
48 | <para>Prepare Automake for compilation:</para>
|
---|
49 |
|
---|
50 | <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
|
---|
51 |
|
---|
52 | <para>Compile the package:</para>
|
---|
53 |
|
---|
54 | <screen><userinput remap="make">make</userinput></screen>
|
---|
55 |
|
---|
56 | <para>Using four parallel jobs speeds up the tests, even on systems with
|
---|
57 | less logical cores, due to internal delays in individual tests. To test
|
---|
58 | the results, issue:</para>
|
---|
59 |
|
---|
60 | <screen><userinput remap="test">make <replaceable>-j$(($(nproc)>4?$(nproc):4))</replaceable> check</userinput></screen>
|
---|
61 |
|
---|
62 | <para>Replace <replaceable>$((...))</replaceable> with the number of
|
---|
63 | logical cores you want to use if you don't want to use all.</para>
|
---|
64 |
|
---|
65 | <para>The test t/subobj.sh is known to fail.</para>
|
---|
66 |
|
---|
67 | <para>Install the package:</para>
|
---|
68 |
|
---|
69 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 |
|
---|
74 | <sect2 id="contents-automake" role="content">
|
---|
75 | <title>Contents of Automake</title>
|
---|
76 |
|
---|
77 | <segmentedlist>
|
---|
78 | <segtitle>Installed programs</segtitle>
|
---|
79 | <segtitle>Installed directories</segtitle>
|
---|
80 |
|
---|
81 | <seglistitem>
|
---|
82 | <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
|
---|
83 | automake-&am-minor-version; (hard linked with automake) </seg>
|
---|
84 | <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
|
---|
85 | /usr/share/doc/automake-&automake-version;</seg>
|
---|
86 | </seglistitem>
|
---|
87 | </segmentedlist>
|
---|
88 |
|
---|
89 | <variablelist>
|
---|
90 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
91 | <?dbfo list-presentation="list"?>
|
---|
92 | <?dbhtml list-presentation="table"?>
|
---|
93 |
|
---|
94 | <varlistentry id="aclocal">
|
---|
95 | <term><command>aclocal</command></term>
|
---|
96 | <listitem>
|
---|
97 | <para>Generates <filename>aclocal.m4</filename> files based on the
|
---|
98 | contents of <filename>configure.in</filename> files</para>
|
---|
99 | <indexterm zone="ch-system-automake aclocal">
|
---|
100 | <primary sortas="b-aclocal">aclocal</primary>
|
---|
101 | </indexterm>
|
---|
102 | </listitem>
|
---|
103 | </varlistentry>
|
---|
104 |
|
---|
105 | <varlistentry id="aclocalversion">
|
---|
106 | <term><command>aclocal-&am-minor-version;</command></term>
|
---|
107 | <listitem>
|
---|
108 | <para>A hard link to <command>aclocal</command></para>
|
---|
109 | <indexterm zone="ch-system-automake aclocalversion">
|
---|
110 | <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
|
---|
111 | </indexterm>
|
---|
112 | </listitem>
|
---|
113 | </varlistentry>
|
---|
114 |
|
---|
115 | <varlistentry id="automake">
|
---|
116 | <term><command>automake</command></term>
|
---|
117 | <listitem>
|
---|
118 | <para>A tool for automatically generating
|
---|
119 | <filename>Makefile.in</filename> files from
|
---|
120 | <filename>Makefile.am</filename> files [To create all the
|
---|
121 | <filename>Makefile.in</filename> files for a package, run this program
|
---|
122 | in the top-level directory. By scanning the
|
---|
123 | <filename>configure.in</filename> file, it automatically finds each
|
---|
124 | appropriate <filename>Makefile.am</filename> file and generates the
|
---|
125 | corresponding <filename>Makefile.in</filename> file.]</para>
|
---|
126 | <indexterm zone="ch-system-automake automake">
|
---|
127 | <primary sortas="b-automake">automake</primary>
|
---|
128 | </indexterm>
|
---|
129 | </listitem>
|
---|
130 | </varlistentry>
|
---|
131 |
|
---|
132 | <varlistentry id="automake-version">
|
---|
133 | <term><command>automake-&am-minor-version;</command></term>
|
---|
134 | <listitem>
|
---|
135 | <para>A hard link to <command>automake</command></para>
|
---|
136 | <indexterm zone="ch-system-automake automake-version">
|
---|
137 | <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
|
---|
138 | </indexterm>
|
---|
139 | </listitem>
|
---|
140 | </varlistentry>
|
---|
141 |
|
---|
142 | </variablelist>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | </sect1>
|
---|