automake.xml 5.3 KB

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