automake.xml 8.8 KB

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