automake.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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>Three tests are known to fail in the LFS environment.</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>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
  55. automake-&am-minor-version; (hard linked with automake) </seg>
  56. <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
  57. /usr/share/doc/automake-&automake-version;</seg>
  58. </seglistitem>
  59. </segmentedlist>
  60. <variablelist>
  61. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  62. <?dbfo list-presentation="list"?>
  63. <?dbhtml list-presentation="table"?>
  64. <varlistentry id="aclocal">
  65. <term><command>aclocal</command></term>
  66. <listitem>
  67. <para>Generates <filename>aclocal.m4</filename> files based on the
  68. contents of <filename>configure.in</filename> files</para>
  69. <indexterm zone="ch-system-automake aclocal">
  70. <primary sortas="b-aclocal">aclocal</primary>
  71. </indexterm>
  72. </listitem>
  73. </varlistentry>
  74. <varlistentry id="aclocalversion">
  75. <term><command>aclocal-&am-minor-version;</command></term>
  76. <listitem>
  77. <para>A hard link to <command>aclocal</command></para>
  78. <indexterm zone="ch-system-automake aclocalversion">
  79. <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
  80. </indexterm>
  81. </listitem>
  82. </varlistentry>
  83. <varlistentry id="automake">
  84. <term><command>automake</command></term>
  85. <listitem>
  86. <para>A tool for automatically generating
  87. <filename>Makefile.in</filename> files from
  88. <filename>Makefile.am</filename> files [To create all the
  89. <filename>Makefile.in</filename> files for a package, run this program
  90. in the top-level directory. By scanning the
  91. <filename>configure.in</filename> file, it automatically finds each
  92. appropriate <filename>Makefile.am</filename> file and generates the
  93. corresponding <filename>Makefile.in</filename> file.]</para>
  94. <indexterm zone="ch-system-automake automake">
  95. <primary sortas="b-automake">automake</primary>
  96. </indexterm>
  97. </listitem>
  98. </varlistentry>
  99. <varlistentry id="automake-version">
  100. <term><command>automake-&am-minor-version;</command></term>
  101. <listitem>
  102. <para>A hard link to <command>automake</command></para>
  103. <indexterm zone="ch-system-automake automake-version">
  104. <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
  105. </indexterm>
  106. </listitem>
  107. </varlistentry>
  108. </variablelist>
  109. </sect2>
  110. </sect1>