automake.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  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. <sect1 id="ch-system-automake" role="wrap">
  8. <?dbhtml filename="automake.html"?>
  9. <sect1info condition="script">
  10. <productname>automake</productname>
  11. <productnumber>&automake-version;</productnumber>
  12. <address>&automake-url;</address>
  13. </sect1info>
  14. <title>Automake-&automake-version;</title>
  15. <indexterm zone="ch-system-automake">
  16. <primary sortas="a-Automake">Automake</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Automake package contains programs for generating Makefiles for use
  21. with Autoconf.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&automake-ch6-sbu;</seg>
  27. <seg>&automake-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Automake</title>
  33. <para>Fix an intermittent test failure:</para>
  34. <screen><userinput remap="pre">patch -Np1 -i ../&automake-test-patch;</userinput></screen>
  35. <para>Prepare Automake for compilation:</para>
  36. <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
  37. <para>Compile the package:</para>
  38. <screen><userinput remap="make">make</userinput></screen>
  39. <note><para>The tests take a very long time: over 30 SBUs.</para></note>
  40. <para>To test the results, issue:</para>
  41. <screen><userinput remap="test">make check</userinput></screen>
  42. <para>Install the package:</para>
  43. <screen><userinput remap="install">make install</userinput></screen>
  44. </sect2>
  45. <sect2 id="contents-automake" role="content">
  46. <title>Contents of Automake</title>
  47. <segmentedlist>
  48. <segtitle>Installed programs</segtitle>
  49. <segtitle>Installed directories</segtitle>
  50. <seglistitem>
  51. <seg>acinstall, aclocal, aclocal-&am-minor-version;, automake,
  52. automake-&am-minor-version;, compile, config.guess, config.sub,
  53. depcomp, install-sh, mdate-sh, missing, mkinstalldirs,
  54. py-compile, and ylwrap</seg>
  55. <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;,
  56. /usr/share/doc/automake-&automake-version;</seg>
  57. </seglistitem>
  58. </segmentedlist>
  59. <variablelist>
  60. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  61. <?dbfo list-presentation="list"?>
  62. <?dbhtml list-presentation="table"?>
  63. <varlistentry id="acinstall">
  64. <term><command>acinstall</command></term>
  65. <listitem>
  66. <para>A script that installs aclocal-style M4 files</para>
  67. <indexterm zone="ch-system-automake acinstall">
  68. <primary sortas="b-acinstall">acinstall</primary>
  69. </indexterm>
  70. </listitem>
  71. </varlistentry>
  72. <varlistentry id="aclocal">
  73. <term><command>aclocal</command></term>
  74. <listitem>
  75. <para>Generates <filename>aclocal.m4</filename> files based on the
  76. contents of <filename>configure.in</filename> files</para>
  77. <indexterm zone="ch-system-automake aclocal">
  78. <primary sortas="b-aclocal">aclocal</primary>
  79. </indexterm>
  80. </listitem>
  81. </varlistentry>
  82. <varlistentry id="aclocalversion">
  83. <term><command>aclocal-&am-minor-version;</command></term>
  84. <listitem>
  85. <para>A hard link to <command>aclocal</command></para>
  86. <indexterm zone="ch-system-automake aclocalversion">
  87. <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
  88. </indexterm>
  89. </listitem>
  90. </varlistentry>
  91. <varlistentry id="automake">
  92. <term><command>automake</command></term>
  93. <listitem>
  94. <para>A tool for automatically generating
  95. <filename>Makefile.in</filename> files from
  96. <filename>Makefile.am</filename> files. To create all the
  97. <filename>Makefile.in</filename> files for a package, run this program
  98. in the top-level directory. By scanning the
  99. <filename>configure.in</filename> file, it automatically finds each
  100. appropriate <filename>Makefile.am</filename> file and generates the
  101. corresponding <filename>Makefile.in</filename> file</para>
  102. <indexterm zone="ch-system-automake automake">
  103. <primary sortas="b-automake">automake</primary>
  104. </indexterm>
  105. </listitem>
  106. </varlistentry>
  107. <varlistentry id="automake-version">
  108. <term><command>automake-&am-minor-version;</command></term>
  109. <listitem>
  110. <para>A hard link to <command>automake</command></para>
  111. <indexterm zone="ch-system-automake automake-version">
  112. <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
  113. </indexterm>
  114. </listitem>
  115. </varlistentry>
  116. <varlistentry id="compile">
  117. <term><command>compile</command></term>
  118. <listitem>
  119. <para>A wrapper for compilers</para>
  120. <indexterm zone="ch-system-automake compile">
  121. <primary sortas="b-compile">compile</primary>
  122. </indexterm>
  123. </listitem>
  124. </varlistentry>
  125. <varlistentry id="config.guess">
  126. <term><command>config.guess</command></term>
  127. <listitem>
  128. <para>A script that attempts to guess the canonical triplet for
  129. the given build, host, or target architecture</para>
  130. <indexterm zone="ch-system-automake config.guess">
  131. <primary sortas="b-config.guess">config.guess</primary>
  132. </indexterm>
  133. </listitem>
  134. </varlistentry>
  135. <varlistentry id="config.sub">
  136. <term><command>config.sub</command></term>
  137. <listitem>
  138. <para>A configuration validation subroutine script</para>
  139. <indexterm zone="ch-system-automake config.sub">
  140. <primary sortas="b-config.sub">config.sub</primary>
  141. </indexterm>
  142. </listitem>
  143. </varlistentry>
  144. <varlistentry id="depcomp">
  145. <term><command>depcomp</command></term>
  146. <listitem>
  147. <para>A script for compiling a program so that dependency information
  148. is generated in addition to the desired output</para>
  149. <indexterm zone="ch-system-automake depcomp">
  150. <primary sortas="b-depcomp">depcomp</primary>
  151. </indexterm>
  152. </listitem>
  153. </varlistentry>
  154. <varlistentry id="install-sh">
  155. <term><command>install-sh</command></term>
  156. <listitem>
  157. <para>A script that installs a program, script, or data file</para>
  158. <indexterm zone="ch-system-automake install-sh">
  159. <primary sortas="b-install-sh">install-sh</primary>
  160. </indexterm>
  161. </listitem>
  162. </varlistentry>
  163. <varlistentry id="mdate-sh">
  164. <term><command>mdate-sh</command></term>
  165. <listitem>
  166. <para>A script that prints the modification time of a file or
  167. directory</para>
  168. <indexterm zone="ch-system-automake mdate-sh">
  169. <primary sortas="b-mdate-sh">mdate-sh</primary>
  170. </indexterm>
  171. </listitem>
  172. </varlistentry>
  173. <varlistentry id="missing">
  174. <term><command>missing</command></term>
  175. <listitem>
  176. <para>A script acting as a common stub for missing GNU programs during
  177. an installation</para>
  178. <indexterm zone="ch-system-automake missing">
  179. <primary sortas="b-missing">missing</primary>
  180. </indexterm>
  181. </listitem>
  182. </varlistentry>
  183. <varlistentry id="mkinstalldirs">
  184. <term><command>mkinstalldirs</command></term>
  185. <listitem>
  186. <para>A script that creates a directory tree</para>
  187. <indexterm zone="ch-system-automake mkinstalldirs">
  188. <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
  189. </indexterm>
  190. </listitem>
  191. </varlistentry>
  192. <varlistentry id="py-compile">
  193. <term><command>py-compile</command></term>
  194. <listitem>
  195. <para>Compiles a Python program</para>
  196. <indexterm zone="ch-system-automake py-compile">
  197. <primary sortas="b-py-compile">py-compile</primary>
  198. </indexterm>
  199. </listitem>
  200. </varlistentry>
  201. <varlistentry id="ylwrap">
  202. <term><command>ylwrap</command></term>
  203. <listitem>
  204. <para>A wrapper for <command>lex</command> and
  205. <command>yacc</command></para>
  206. <indexterm zone="ch-system-automake ylwrap">
  207. <primary sortas="b-ylwrap">ylwrap</primary>
  208. </indexterm>
  209. </listitem>
  210. </varlistentry>
  211. </variablelist>
  212. </sect2>
  213. </sect1>