automake.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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>Apply a patch to fix an incomatibility between Automake-&automake-version; and Perl-&perl-version;:</para>
  34. <screen><userinput remap="pre">patch -Np1 -i ../&automake-perl_fix-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. <para>Fix a couple of minor bugs in the test suite:</para>
  40. <screen><userinput remap="pre">sed -i -e "s/yacc/lex/" t/lex-clean.sh
  41. sed -i -e "s/cc/'non-root cc'/" t/dist-readonly.sh</userinput></screen>
  42. <para>To test the results, issue:</para>
  43. <screen><userinput remap="test">make check</userinput></screen>
  44. <para>This takes a long time, about 10 SBUs.</para>
  45. <para>Install the package:</para>
  46. <screen><userinput remap="install">make install</userinput></screen>
  47. </sect2>
  48. <sect2 id="contents-automake" role="content">
  49. <title>Contents of Automake</title>
  50. <segmentedlist>
  51. <segtitle>Installed programs</segtitle>
  52. <segtitle>Installed directories</segtitle>
  53. <seglistitem>
  54. <seg>acinstall, aclocal, aclocal-&am-minor-version;, automake,
  55. automake-&am-minor-version;, compile, config.guess, config.sub,
  56. depcomp, elisp-comp, install-sh, mdate-sh, missing, mkinstalldirs,
  57. py-compile, symlink-tree, and ylwrap</seg>
  58. <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;,
  59. /usr/share/doc/automake-&automake-version;</seg>
  60. </seglistitem>
  61. </segmentedlist>
  62. <variablelist>
  63. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  64. <?dbfo list-presentation="list"?>
  65. <?dbhtml list-presentation="table"?>
  66. <varlistentry id="acinstall">
  67. <term><command>acinstall</command></term>
  68. <listitem>
  69. <para>A script that installs aclocal-style M4 files</para>
  70. <indexterm zone="ch-system-automake acinstall">
  71. <primary sortas="b-acinstall">acinstall</primary>
  72. </indexterm>
  73. </listitem>
  74. </varlistentry>
  75. <varlistentry id="aclocal">
  76. <term><command>aclocal</command></term>
  77. <listitem>
  78. <para>Generates <filename>aclocal.m4</filename> files based on the
  79. contents of <filename>configure.in</filename> files</para>
  80. <indexterm zone="ch-system-automake aclocal">
  81. <primary sortas="b-aclocal">aclocal</primary>
  82. </indexterm>
  83. </listitem>
  84. </varlistentry>
  85. <varlistentry id="aclocalversion">
  86. <term><command>aclocal-&am-minor-version;</command></term>
  87. <listitem>
  88. <para>A hard link to <command>aclocal</command></para>
  89. <indexterm zone="ch-system-automake aclocalversion">
  90. <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
  91. </indexterm>
  92. </listitem>
  93. </varlistentry>
  94. <varlistentry id="automake">
  95. <term><command>automake</command></term>
  96. <listitem>
  97. <para>A tool for automatically generating
  98. <filename>Makefile.in</filename> files from
  99. <filename>Makefile.am</filename> files. To create all the
  100. <filename>Makefile.in</filename> files for a package, run this program
  101. in the top-level directory. By scanning the
  102. <filename>configure.in</filename> file, it automatically finds each
  103. appropriate <filename>Makefile.am</filename> file and generates the
  104. corresponding <filename>Makefile.in</filename> file</para>
  105. <indexterm zone="ch-system-automake automake">
  106. <primary sortas="b-automake">automake</primary>
  107. </indexterm>
  108. </listitem>
  109. </varlistentry>
  110. <varlistentry id="automake-version">
  111. <term><command>automake-&am-minor-version;</command></term>
  112. <listitem>
  113. <para>A hard link to <command>automake</command></para>
  114. <indexterm zone="ch-system-automake automake-version">
  115. <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
  116. </indexterm>
  117. </listitem>
  118. </varlistentry>
  119. <varlistentry id="compile">
  120. <term><command>compile</command></term>
  121. <listitem>
  122. <para>A wrapper for compilers</para>
  123. <indexterm zone="ch-system-automake compile">
  124. <primary sortas="b-compile">compile</primary>
  125. </indexterm>
  126. </listitem>
  127. </varlistentry>
  128. <varlistentry id="config.guess">
  129. <term><command>config.guess</command></term>
  130. <listitem>
  131. <para>A script that attempts to guess the canonical triplet for
  132. the given build, host, or target architecture</para>
  133. <indexterm zone="ch-system-automake config.guess">
  134. <primary sortas="b-config.guess">config.guess</primary>
  135. </indexterm>
  136. </listitem>
  137. </varlistentry>
  138. <varlistentry id="config.sub">
  139. <term><command>config.sub</command></term>
  140. <listitem>
  141. <para>A configuration validation subroutine script</para>
  142. <indexterm zone="ch-system-automake config.sub">
  143. <primary sortas="b-config.sub">config.sub</primary>
  144. </indexterm>
  145. </listitem>
  146. </varlistentry>
  147. <varlistentry id="depcomp">
  148. <term><command>depcomp</command></term>
  149. <listitem>
  150. <para>A script for compiling a program so that dependency information
  151. is generated in addition to the desired output</para>
  152. <indexterm zone="ch-system-automake depcomp">
  153. <primary sortas="b-depcomp">depcomp</primary>
  154. </indexterm>
  155. </listitem>
  156. </varlistentry>
  157. <varlistentry id="elisp-comp">
  158. <term><command>elisp-comp</command></term>
  159. <listitem>
  160. <para>Byte-compiles Emacs Lisp code</para>
  161. <indexterm zone="ch-system-automake elisp-comp">
  162. <primary sortas="b-elisp-comp">elisp-comp</primary>
  163. </indexterm>
  164. </listitem>
  165. </varlistentry>
  166. <varlistentry id="install-sh">
  167. <term><command>install-sh</command></term>
  168. <listitem>
  169. <para>A script that installs a program, script, or data file</para>
  170. <indexterm zone="ch-system-automake install-sh">
  171. <primary sortas="b-install-sh">install-sh</primary>
  172. </indexterm>
  173. </listitem>
  174. </varlistentry>
  175. <varlistentry id="mdate-sh">
  176. <term><command>mdate-sh</command></term>
  177. <listitem>
  178. <para>A script that prints the modification time of a file or
  179. directory</para>
  180. <indexterm zone="ch-system-automake mdate-sh">
  181. <primary sortas="b-mdate-sh">mdate-sh</primary>
  182. </indexterm>
  183. </listitem>
  184. </varlistentry>
  185. <varlistentry id="missing">
  186. <term><command>missing</command></term>
  187. <listitem>
  188. <para>A script acting as a common stub for missing GNU programs during
  189. an installation</para>
  190. <indexterm zone="ch-system-automake missing">
  191. <primary sortas="b-missing">missing</primary>
  192. </indexterm>
  193. </listitem>
  194. </varlistentry>
  195. <varlistentry id="mkinstalldirs">
  196. <term><command>mkinstalldirs</command></term>
  197. <listitem>
  198. <para>A script that creates a directory tree</para>
  199. <indexterm zone="ch-system-automake mkinstalldirs">
  200. <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>
  201. </indexterm>
  202. </listitem>
  203. </varlistentry>
  204. <varlistentry id="py-compile">
  205. <term><command>py-compile</command></term>
  206. <listitem>
  207. <para>Compiles a Python program</para>
  208. <indexterm zone="ch-system-automake py-compile">
  209. <primary sortas="b-py-compile">py-compile</primary>
  210. </indexterm>
  211. </listitem>
  212. </varlistentry>
  213. <varlistentry id="symlink-tree">
  214. <term><command>symlink-tree</command></term>
  215. <listitem>
  216. <para>A script to create a symlink tree of a directory tree</para>
  217. <indexterm zone="ch-system-automake symlink-tree">
  218. <primary sortas="b-symlink-tree">symlink-tree</primary>
  219. </indexterm>
  220. </listitem>
  221. </varlistentry>
  222. <varlistentry id="ylwrap">
  223. <term><command>ylwrap</command></term>
  224. <listitem>
  225. <para>A wrapper for <command>lex</command> and
  226. <command>yacc</command></para>
  227. <indexterm zone="ch-system-automake ylwrap">
  228. <primary sortas="b-ylwrap">ylwrap</primary>
  229. </indexterm>
  230. </listitem>
  231. </varlistentry>
  232. </variablelist>
  233. </sect2>
  234. </sect1>