source: chapter08/automake.xml@ 7546d8b

xry111/clfs-ng
Last change on this file since 7546d8b was c17a774, checked in by Xi Ruoyao <xry111@…>, 10 months ago

automake: Do not use only 4 cores for testing if we have more

  • Property mode set to 100644
File size: 5.0 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[50e693d]7
[81fd230]8<sect1 id="ch-system-automake" role="wrap">
[50e693d]9 <?dbhtml filename="automake.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>automake</productname>
13 <productnumber>&automake-version;</productnumber>
14 <address>&automake-url;</address>
15 </sect1info>
16
[50e693d]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/>
[673b0d8]25
[50e693d]26 <para>The Automake package contains programs for generating Makefiles for use
27 with Autoconf.</para>
[6370fa6]28
[50e693d]29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
[5888299]32
[50e693d]33 <seglistitem>
[fb386e0]34 <seg>&automake-fin-sbu;</seg>
35 <seg>&automake-fin-du;</seg>
[50e693d]36 </seglistitem>
37 </segmentedlist>
[a001133]38
[50e693d]39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Automake</title>
[0b105455]43<!--
[ae7f075]44 <para>Fix a failing test:</para>
45
[6a156bab]46<screen><userinput remap="pre">sed -i "s/''/etags/" t/tags-lisp-space.sh</userinput></screen>
[0b105455]47-->
[50e693d]48 <para>Prepare Automake for compilation:</para>
[73aedd1d]49
[4106b83]50<screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
[73aedd1d]51
[50e693d]52 <para>Compile the package:</para>
[73aedd1d]53
[0445a3d]54<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]55
[c17a774]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
[d4bf7ab]58 the results, issue:</para>
[0445a3d]59
[c17a774]60<screen><userinput remap="test">make <replaceable>-j$(($(nproc)&gt;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>
[fa32551]64
65 <para>The test t/subobj.sh is known to fail.</para>
66
[50e693d]67 <para>Install the package:</para>
[73aedd1d]68
[0445a3d]69<screen><userinput remap="install">make install</userinput></screen>
[73aedd1d]70
[50e693d]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>
[fe05b08]79 <segtitle>Installed directories</segtitle>
[50e693d]80
81 <seglistitem>
[040ecb6]82 <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
83 automake-&am-minor-version; (hard linked with automake) </seg>
[7bb9fda]84 <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
[fe05b08]85 /usr/share/doc/automake-&automake-version;</seg>
[50e693d]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
[7a27279c]105 <varlistentry id="aclocalversion">
[970a126]106 <term><command>aclocal-&am-minor-version;</command></term>
[50e693d]107 <listitem>
108 <para>A hard link to <command>aclocal</command></para>
[7a27279c]109 <indexterm zone="ch-system-automake aclocalversion">
[970a126]110 <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
[50e693d]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
[7bb9fda]120 <filename>Makefile.am</filename> files [To create all the
[50e693d]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
[7bb9fda]125 corresponding <filename>Makefile.in</filename> file.]</para>
[50e693d]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">
[970a126]133 <term><command>automake-&am-minor-version;</command></term>
[50e693d]134 <listitem>
135 <para>A hard link to <command>automake</command></para>
136 <indexterm zone="ch-system-automake automake-version">
[970a126]137 <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
[50e693d]138 </indexterm>
139 </listitem>
140 </varlistentry>
141
142 </variablelist>
143
144 </sect2>
[673b0d8]145
146</sect1>
Note: See TracBrowser for help on using the repository browser.