automake.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. <!ENTITY % patches-entities SYSTEM "../patches.ent">
  5. %general-entities;
  6. %patches-entities;
  7. ]>
  8. <sect1 id="ch-system-automake" role="wrap">
  9. <title>Automake-&automake-version;</title>
  10. <?dbhtml filename="automake.html"?>
  11. <indexterm zone="ch-system-automake"><primary sortas="a-Automake">Automake</primary></indexterm>
  12. <sect2 role="package"><title/>
  13. <para>The Automake package contains programs for generating Makefiles for use
  14. with Autoconf.</para>
  15. <segmentedlist>
  16. <segtitle>&buildtime;</segtitle>
  17. <segtitle>&diskspace;</segtitle>
  18. <seglistitem><seg>0.2 SBU</seg><seg>8.8 MB</seg></seglistitem>
  19. </segmentedlist>
  20. <segmentedlist>
  21. <segtitle>&dependencies;</segtitle>
  22. <seglistitem><seg>Autoconf, Bash, Coreutils,
  23. Diffutils, Grep, M4, Make, Perl, and Sed</seg></seglistitem>
  24. </segmentedlist>
  25. </sect2>
  26. <sect2 role="installation">
  27. <title>Installation of Automake</title>
  28. <para>Prepare Automake for compilation:</para>
  29. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  30. <para>Compile the package:</para>
  31. <screen><userinput>make</userinput></screen>
  32. <para>To test the results, issue:
  33. <userinput>make check</userinput>. This takes a long time, about 5 SBUs.</para>
  34. <para>Install the package:</para>
  35. <screen><userinput>make install</userinput></screen>
  36. </sect2>
  37. <sect2 id="contents-automake" role="content"><title>Contents of Automake</title>
  38. <segmentedlist>
  39. <segtitle>Installed programs</segtitle>
  40. <seglistitem><seg>acinstall, aclocal, aclocal-&automake-version;,
  41. automake, automake-&automake-version;,
  42. compile, config.guess, config.sub, depcomp, elisp-comp, install-sh, mdate-sh,
  43. missing, mkinstalldirs, py-compile, symlink-tree, and ylwrap</seg></seglistitem>
  44. </segmentedlist>
  45. <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
  46. <?dbfo list-presentation="list"?>
  47. <?dbhtml list-presentation="table"?>
  48. <varlistentry id="acinstall">
  49. <term><command>acinstall</command></term>
  50. <listitem>
  51. <para>A script that installs aclocal-style M4 files</para>
  52. <indexterm zone="ch-system-automake acinstall"><primary sortas="b-acinstall">acinstall</primary></indexterm>
  53. </listitem>
  54. </varlistentry>
  55. <varlistentry id="aclocal">
  56. <term><command>aclocal</command></term>
  57. <listitem>
  58. <para>Generates <filename>aclocal.m4</filename>
  59. files based on the contents of <filename>configure.in</filename> files</para>
  60. <indexterm zone="ch-system-automake aclocal"><primary sortas="b-aclocal">aclocal</primary></indexterm>
  61. </listitem>
  62. </varlistentry>
  63. <varlistentry id="aclocal-version">
  64. <term><command>aclocal-&automake-version;</command></term>
  65. <listitem>
  66. <para>A hard link to <command>aclocal</command></para>
  67. <indexterm zone="ch-system-automake aclocal-version"><primary
  68. sortas="b-aclocal-&automake-version;">aclocal-&automake-version;</primary></indexterm>
  69. </listitem>
  70. </varlistentry>
  71. <varlistentry id="automake">
  72. <term><command>automake</command></term>
  73. <listitem>
  74. <para>A tool for automatically generating
  75. <filename>Makefile.in</filename> files from
  76. <filename>Makefile.am</filename> files. To create all the
  77. <filename>Makefile.in</filename> files for a package, run this program
  78. in the top-level directory. By scanning the
  79. <filename>configure.in</filename> file, it automatically finds each
  80. appropriate <filename>Makefile.am</filename> file and generates the
  81. corresponding <filename>Makefile.in</filename> file</para>
  82. <indexterm zone="ch-system-automake automake"><primary sortas="b-automake">automake</primary></indexterm>
  83. </listitem>
  84. </varlistentry>
  85. <varlistentry id="automake-version">
  86. <term><command>automake-&automake-version;</command></term>
  87. <listitem>
  88. <para>A hard link to <command>automake</command></para>
  89. <indexterm zone="ch-system-automake automake-version"><primary
  90. sortas="b-automake-&automake-version;">automake-&automake-version;</primary></indexterm>
  91. </listitem>
  92. </varlistentry>
  93. <varlistentry id="compile">
  94. <term><command>compile</command></term>
  95. <listitem>
  96. <para>A wrapper for compilers</para>
  97. <indexterm zone="ch-system-automake compile"><primary sortas="b-compile">compile</primary></indexterm>
  98. </listitem>
  99. </varlistentry>
  100. <varlistentry id="config.guess">
  101. <term><command>config.guess</command></term>
  102. <listitem>
  103. <para>A script that attempts to guess
  104. the canonical triplet for the given build, host, or target architecture</para>
  105. <indexterm zone="ch-system-automake config.guess"><primary sortas="b-config.guess">config.guess</primary></indexterm>
  106. </listitem>
  107. </varlistentry>
  108. <varlistentry id="config.sub">
  109. <term><command>config.sub</command></term>
  110. <listitem>
  111. <para>A configuration validation subroutine script</para>
  112. <indexterm zone="ch-system-automake config.sub"><primary sortas="b-config.sub">config.sub</primary></indexterm>
  113. </listitem>
  114. </varlistentry>
  115. <varlistentry id="depcomp">
  116. <term><command>depcomp</command></term>
  117. <listitem>
  118. <para>A script for compiling a program so that dependency information
  119. is generated in addition to the desired output</para>
  120. <indexterm zone="ch-system-automake depcomp"><primary sortas="b-depcomp">depcomp</primary></indexterm>
  121. </listitem>
  122. </varlistentry>
  123. <varlistentry id="elisp-comp">
  124. <term><command>elisp-comp</command></term>
  125. <listitem>
  126. <para>Byte-compiles Emacs Lisp code</para>
  127. <indexterm zone="ch-system-automake elisp-comp"><primary sortas="b-elisp-comp">elisp-comp</primary></indexterm>
  128. </listitem>
  129. </varlistentry>
  130. <varlistentry id="install-sh">
  131. <term><command>install-sh</command></term>
  132. <listitem>
  133. <para>A script that installs a program, script, or data file</para>
  134. <indexterm zone="ch-system-automake install-sh"><primary sortas="b-install-sh">install-sh</primary></indexterm>
  135. </listitem>
  136. </varlistentry>
  137. <varlistentry id="mdate-sh">
  138. <term><command>mdate-sh</command></term>
  139. <listitem>
  140. <para>A script that prints the modification time of a file or directory</para>
  141. <indexterm zone="ch-system-automake mdate-sh"><primary sortas="b-mdate-sh">mdate-sh</primary></indexterm>
  142. </listitem>
  143. </varlistentry>
  144. <varlistentry id="missing">
  145. <term><command>missing</command></term>
  146. <listitem>
  147. <para>A script acting as a common stub for missing GNU programs during
  148. an installation</para>
  149. <indexterm zone="ch-system-automake missing"><primary sortas="b-missing">missing</primary></indexterm>
  150. </listitem>
  151. </varlistentry>
  152. <varlistentry id="mkinstalldirs">
  153. <term><command>mkinstalldirs</command></term>
  154. <listitem>
  155. <para>A script that creates a directory tree</para>
  156. <indexterm zone="ch-system-automake mkinstalldirs"><primary sortas="b-mkinstalldirs">mkinstalldirs</primary></indexterm>
  157. </listitem>
  158. </varlistentry>
  159. <varlistentry id="py-compile">
  160. <term><command>py-compile</command></term>
  161. <listitem>
  162. <para>Compiles a Python program</para>
  163. <indexterm zone="ch-system-automake py-compile"><primary sortas="b-py-compile">py-compile</primary></indexterm>
  164. </listitem>
  165. </varlistentry>
  166. <varlistentry id="symlink-tree">
  167. <term><command>symlink-tree</command></term>
  168. <listitem>
  169. <para>A script to create a symlink tree of a directory tree</para>
  170. <indexterm zone="ch-system-automake symlink-tree"><primary sortas="b-symlink-tree">symlink-tree</primary></indexterm>
  171. </listitem>
  172. </varlistentry>
  173. <varlistentry id="ylwrap">
  174. <term><command>ylwrap</command></term>
  175. <listitem>
  176. <para>A wrapper for <command>lex</command> and <command>yacc</command></para>
  177. <indexterm zone="ch-system-automake ylwrap"><primary sortas="b-ylwrap">ylwrap</primary></indexterm>
  178. </listitem>
  179. </varlistentry>
  180. </variablelist>
  181. </sect2>
  182. </sect1>