automake.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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>Prepare Automake for compilation:</para>
  34. <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/automake-&automake-version;</userinput></screen>
  35. <para>Compile the package:</para>
  36. <screen><userinput remap="make">make</userinput></screen>
  37. <para>There are a couple of tests that incorrectly link to the
  38. wrong version of the flex library, so we temporarily work around
  39. the problem. Also, using the -j4 make option speeds up the tests, even on
  40. systems with only one processor due to internal delays in individual
  41. tests. To test the results, issue:</para>
  42. <screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
  43. make -j4 check</userinput></screen>
  44. <para>Install the package:</para>
  45. <screen><userinput remap="install">make install</userinput></screen>
  46. </sect2>
  47. <sect2 id="contents-automake" role="content">
  48. <title>Contents of Automake</title>
  49. <segmentedlist>
  50. <segtitle>Installed programs</segtitle>
  51. <segtitle>Installed directories</segtitle>
  52. <seglistitem>
  53. <seg>aclocal, aclocal-&am-minor-version;, automake,
  54. automake-&am-minor-version;, compile, config.guess, config.sub,
  55. depcomp, install-sh, mdate-sh, missing, mkinstalldirs,
  56. py-compile, and ylwrap</seg>
  57. <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;,
  58. /usr/share/doc/automake-&automake-version;</seg>
  59. </seglistitem>
  60. </segmentedlist>
  61. <variablelist>
  62. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  63. <?dbfo list-presentation="list"?>
  64. <?dbhtml list-presentation="table"?>
  65. <varlistentry id="aclocal">
  66. <term><command>aclocal</command></term>
  67. <listitem>
  68. <para>Generates <filename>aclocal.m4</filename> files based on the
  69. contents of <filename>configure.in</filename> files</para>
  70. <indexterm zone="ch-system-automake aclocal">
  71. <primary sortas="b-aclocal">aclocal</primary>
  72. </indexterm>
  73. </listitem>
  74. </varlistentry>
  75. <varlistentry id="aclocalversion">
  76. <term><command>aclocal-&am-minor-version;</command></term>
  77. <listitem>
  78. <para>A hard link to <command>aclocal</command></para>
  79. <indexterm zone="ch-system-automake aclocalversion">
  80. <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
  81. </indexterm>
  82. </listitem>
  83. </varlistentry>
  84. <varlistentry id="automake">
  85. <term><command>automake</command></term>
  86. <listitem>
  87. <para>A tool for automatically generating
  88. <filename>Makefile.in</filename> files from
  89. <filename>Makefile.am</filename> files. To create all the
  90. <filename>Makefile.in</filename> files for a package, run this program
  91. in the top-level directory. By scanning the
  92. <filename>configure.in</filename> file, it automatically finds each
  93. appropriate <filename>Makefile.am</filename> file and generates the
  94. corresponding <filename>Makefile.in</filename> file</para>
  95. <indexterm zone="ch-system-automake automake">
  96. <primary sortas="b-automake">automake</primary>
  97. </indexterm>
  98. </listitem>
  99. </varlistentry>
  100. <varlistentry id="automake-version">
  101. <term><command>automake-&am-minor-version;</command></term>
  102. <listitem>
  103. <para>A hard link to <command>automake</command></para>
  104. <indexterm zone="ch-system-automake automake-version">
  105. <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
  106. </indexterm>
  107. </listitem>
  108. </varlistentry>
  109. <varlistentry id="compile">
  110. <term><command>compile</command></term>
  111. <listitem>
  112. <para>A wrapper for compilers</para>
  113. <indexterm zone="ch-system-automake compile">
  114. <primary sortas="b-compile">compile</primary>
  115. </indexterm>
  116. </listitem>
  117. </varlistentry>
  118. <varlistentry id="config.guess">
  119. <term><command>config.guess</command></term>
  120. <listitem>
  121. <para>A script that attempts to guess the canonical triplet for
  122. the given build, host, or target architecture</para>
  123. <indexterm zone="ch-system-automake config.guess">
  124. <primary sortas="b-config.guess">config.guess</primary>
  125. </indexterm>
  126. </listitem>
  127. </varlistentry>
  128. <varlistentry id="config.sub">
  129. <term><command>config.sub</command></term>
  130. <listitem>
  131. <para>A configuration validation subroutine script</para>
  132. <indexterm zone="ch-system-automake config.sub">
  133. <primary sortas="b-config.sub">config.sub</primary>
  134. </indexterm>
  135. </listitem>
  136. </varlistentry>
  137. <varlistentry id="depcomp">
  138. <term><command>depcomp</command></term>
  139. <listitem>
  140. <para>A script for compiling a program so that dependency information
  141. is generated in addition to the desired output</para>
  142. <indexterm zone="ch-system-automake depcomp">
  143. <primary sortas="b-depcomp">depcomp</primary>
  144. </indexterm>
  145. </listitem>
  146. </varlistentry>
  147. <varlistentry id="install-sh">
  148. <term><command>install-sh</command></term>
  149. <listitem>
  150. <para>A script that installs a program, script, or data file</para>
  151. <indexterm zone="ch-system-automake install-sh">
  152. <primary sortas="b-install-sh">install-sh</primary>
  153. </indexterm>
  154. </listitem>
  155. </varlistentry>
  156. <varlistentry id="mdate-sh">
  157. <term><command>mdate-sh</command></term>
  158. <listitem>
  159. <para>A script that prints the modification time of a file or
  160. directory</para>
  161. <indexterm zone="ch-system-automake mdate-sh">
  162. <primary sortas="b-mdate-sh">mdate-sh</primary>
  163. </indexterm>
  164. </listitem>
  165. </varlistentry>
  166. <varlistentry id="missing">
  167. <term><command>missing</command></term>
  168. <listitem>
  169. <para>A script acting as a common stub for missing GNU programs during
  170. an installation</para>
  171. <indexterm zone="ch-system-automake missing">
  172. <primary sortas="b-missing">missing</primary>
  173. </indexterm>
  174. </listitem>
  175. </varlistentry>
  176. <varlistentry id="mkinstalldirs">
  177. <term><command>mkinstalldirs</command></term>
  178. <listitem>
  179. <para>A script that creates a directory tree</para>
  180. <indexterm zone="ch-system-automake mkinstalldirs">
  181. <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
  182. </indexterm>
  183. </listitem>
  184. </varlistentry>
  185. <varlistentry id="py-compile">
  186. <term><command>py-compile</command></term>
  187. <listitem>
  188. <para>Compiles a Python program</para>
  189. <indexterm zone="ch-system-automake py-compile">
  190. <primary sortas="b-py-compile">py-compile</primary>
  191. </indexterm>
  192. </listitem>
  193. </varlistentry>
  194. <varlistentry id="ylwrap">
  195. <term><command>ylwrap</command></term>
  196. <listitem>
  197. <para>A wrapper for <command>lex</command> and
  198. <command>yacc</command></para>
  199. <indexterm zone="ch-system-automake ylwrap">
  200. <primary sortas="b-ylwrap">ylwrap</primary>
  201. </indexterm>
  202. </listitem>
  203. </varlistentry>
  204. </variablelist>
  205. </sect2>
  206. </sect1>