1
0

automake.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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:
  45. check12.sh, subobj.sh, and check12-w.sh.</para>
  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; (hard linked with aclocal), automake, and
  56. automake-&am-minor-version; (hard linked with automake) </seg>
  57. <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
  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. </variablelist>
  110. </sect2>
  111. </sect1>