automake.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. -->
  43. <para> Using the -j4 make option speeds up the tests, even on systems with
  44. only one processor, due to internal delays in individual tests. To test
  45. the results, issue:</para>
  46. <!--<screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
  47. make -j4 check</userinput></screen>-->
  48. <screen><userinput remap="test">make -j4 check</userinput></screen>
  49. <para>One test is known to fail in the LFS environment:
  50. subobj.sh.</para>
  51. <para>Install the package:</para>
  52. <screen><userinput remap="install">make install</userinput></screen>
  53. </sect2>
  54. <sect2 id="contents-automake" role="content">
  55. <title>Contents of Automake</title>
  56. <segmentedlist>
  57. <segtitle>Installed programs</segtitle>
  58. <segtitle>Installed directories</segtitle>
  59. <seglistitem>
  60. <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
  61. automake-&am-minor-version; (hard linked with automake) </seg>
  62. <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
  63. /usr/share/doc/automake-&automake-version;</seg>
  64. </seglistitem>
  65. </segmentedlist>
  66. <variablelist>
  67. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  68. <?dbfo list-presentation="list"?>
  69. <?dbhtml list-presentation="table"?>
  70. <varlistentry id="aclocal">
  71. <term><command>aclocal</command></term>
  72. <listitem>
  73. <para>Generates <filename>aclocal.m4</filename> files based on the
  74. contents of <filename>configure.in</filename> files</para>
  75. <indexterm zone="ch-system-automake aclocal">
  76. <primary sortas="b-aclocal">aclocal</primary>
  77. </indexterm>
  78. </listitem>
  79. </varlistentry>
  80. <varlistentry id="aclocalversion">
  81. <term><command>aclocal-&am-minor-version;</command></term>
  82. <listitem>
  83. <para>A hard link to <command>aclocal</command></para>
  84. <indexterm zone="ch-system-automake aclocalversion">
  85. <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
  86. </indexterm>
  87. </listitem>
  88. </varlistentry>
  89. <varlistentry id="automake">
  90. <term><command>automake</command></term>
  91. <listitem>
  92. <para>A tool for automatically generating
  93. <filename>Makefile.in</filename> files from
  94. <filename>Makefile.am</filename> files [To create all the
  95. <filename>Makefile.in</filename> files for a package, run this program
  96. in the top-level directory. By scanning the
  97. <filename>configure.in</filename> file, it automatically finds each
  98. appropriate <filename>Makefile.am</filename> file and generates the
  99. corresponding <filename>Makefile.in</filename> file.]</para>
  100. <indexterm zone="ch-system-automake automake">
  101. <primary sortas="b-automake">automake</primary>
  102. </indexterm>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry id="automake-version">
  106. <term><command>automake-&am-minor-version;</command></term>
  107. <listitem>
  108. <para>A hard link to <command>automake</command></para>
  109. <indexterm zone="ch-system-automake automake-version">
  110. <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
  111. </indexterm>
  112. </listitem>
  113. </varlistentry>
  114. </variablelist>
  115. </sect2>
  116. </sect1>