automake.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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>First fix a warning that is caused by perl-5.22 and later:</para>
  34. <screen><userinput remap="pre">sed -i 's:/\\\${:/\\\$\\{:' bin/automake.in</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. <screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
  45. make -j4 check</userinput></screen>
  46. <para>Four tests are known to fail.</para>
  47. <para>Install the package:</para>
  48. <screen><userinput remap="install">make install</userinput></screen>
  49. </sect2>
  50. <sect2 id="contents-automake" role="content">
  51. <title>Contents of Automake</title>
  52. <segmentedlist>
  53. <segtitle>Installed programs</segtitle>
  54. <segtitle>Installed directories</segtitle>
  55. <seglistitem>
  56. <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
  57. automake-&am-minor-version; (hard linked with automake) </seg>
  58. <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
  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="aclocal">
  67. <term><command>aclocal</command></term>
  68. <listitem>
  69. <para>Generates <filename>aclocal.m4</filename> files based on the
  70. contents of <filename>configure.in</filename> files</para>
  71. <indexterm zone="ch-system-automake aclocal">
  72. <primary sortas="b-aclocal">aclocal</primary>
  73. </indexterm>
  74. </listitem>
  75. </varlistentry>
  76. <varlistentry id="aclocalversion">
  77. <term><command>aclocal-&am-minor-version;</command></term>
  78. <listitem>
  79. <para>A hard link to <command>aclocal</command></para>
  80. <indexterm zone="ch-system-automake aclocalversion">
  81. <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
  82. </indexterm>
  83. </listitem>
  84. </varlistentry>
  85. <varlistentry id="automake">
  86. <term><command>automake</command></term>
  87. <listitem>
  88. <para>A tool for automatically generating
  89. <filename>Makefile.in</filename> files from
  90. <filename>Makefile.am</filename> files [To create all the
  91. <filename>Makefile.in</filename> files for a package, run this program
  92. in the top-level directory. By scanning the
  93. <filename>configure.in</filename> file, it automatically finds each
  94. appropriate <filename>Makefile.am</filename> file and generates the
  95. corresponding <filename>Makefile.in</filename> file.]</para>
  96. <indexterm zone="ch-system-automake automake">
  97. <primary sortas="b-automake">automake</primary>
  98. </indexterm>
  99. </listitem>
  100. </varlistentry>
  101. <varlistentry id="automake-version">
  102. <term><command>automake-&am-minor-version;</command></term>
  103. <listitem>
  104. <para>A hard link to <command>automake</command></para>
  105. <indexterm zone="ch-system-automake automake-version">
  106. <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
  107. </indexterm>
  108. </listitem>
  109. </varlistentry>
  110. </variablelist>
  111. </sect2>
  112. </sect1>