automake.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-automake" xreflabel="Automake" role="wrap">
  7. <title>Automake-&automake-version;</title>
  8. <?dbhtml filename="automake.html"?>
  9. <indexterm zone="ch-system-automake"><primary sortas="a-Automake">Automake</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <para>The Automake package contains programs for generating Makefiles for use
  12. with Autoconf.</para>
  13. <segmentedlist>
  14. <segtitle>&buildtime;</segtitle>
  15. <segtitle>&diskspace;</segtitle>
  16. <seglistitem><seg>0.2 SBU</seg><seg>6.8 MB</seg></seglistitem>
  17. </segmentedlist>
  18. <segmentedlist>
  19. <segtitle>Automake installation depends on</segtitle>
  20. <seglistitem><seg>Autoconf, Bash, Coreutils,
  21. Diffutils, Grep, M4, Make, Perl, Sed</seg></seglistitem>
  22. </segmentedlist>
  23. </sect2>
  24. <sect2 role="installation">
  25. <title>Installation of Automake</title>
  26. <para>Prepare Automake for compilation:</para>
  27. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  28. <para>Compile the package:</para>
  29. <screen><userinput>make</userinput></screen>
  30. <para>To test the results, issue:
  31. <userinput>make check</userinput>. This takes a long time, about 5 SBUs.</para>
  32. <para>Install the package:</para>
  33. <screen><userinput>make install</userinput></screen>
  34. </sect2>
  35. <sect2 id="contents-automake"><title>Contents of Automake</title>
  36. <para><emphasis>Installed programs</emphasis>: acinstall, aclocal,
  37. aclocal-1.8, automake, automake-1.8, compile, config.guess, config.sub,
  38. depcomp, elisp-comp, install-sh, mdate-sh, missing, mkinstalldirs, py-compile,
  39. symlink-tree, ylwrap</para>
  40. </sect2>
  41. <sect2><title>Short descriptions</title>
  42. <indexterm zone="ch-system-automake acinstall"><primary sortas="b-acinstall">acinstall</primary></indexterm>
  43. <para id="acinstall"><command>acinstall</command> is a script that installs
  44. aclocal-style M4 files.</para>
  45. <indexterm zone="ch-system-automake aclocal"><primary sortas="b-aclocal">aclocal</primary></indexterm>
  46. <para id="aclocal"><command>aclocal</command> generates <filename>aclocal.m4</filename>
  47. files based on the contents of <filename>configure.in</filename> files.</para>
  48. <indexterm zone="ch-system-automake automake"><primary sortas="b-automake">automake</primary></indexterm>
  49. <para id="automake"><command>automake</command> is a tool for automatically generating
  50. <filename>Makefile.in</filename>'s from files called
  51. <filename>Makefile.am</filename>. To create all the
  52. <filename>Makefile.in</filename> files for a package, run this program in the
  53. top-level directory. By scanning the <filename>configure.in</filename>s it
  54. automatically finds each appropriate <filename>Makefile.am</filename> and
  55. generate the corresponding <filename>Makefile.in</filename>.</para>
  56. <indexterm zone="ch-system-automake compile"><primary sortas="b-compile">compile</primary></indexterm>
  57. <para id="compile"><command>compile</command> is a wrapper for compilers.</para>
  58. <indexterm zone="ch-system-automake config.guess"><primary sortas="b-config.guess">config.guess</primary></indexterm>
  59. <para id="config.guess"><command>config.guess</command> is a script that attempts to guess
  60. the canonical triplet for the given build, host, or target architecture.</para>
  61. <indexterm zone="ch-system-automake config.su"><primary sortas="b-config.su">config.su</primary></indexterm>
  62. <para id="config.su"><command>config.sub</command> is a configuration validation
  63. subroutine script.</para>
  64. <indexterm zone="ch-system-automake depcomp"><primary sortas="b-depcomp">depcomp</primary></indexterm>
  65. <para id="depcomp"><command>depcomp</command> is a script for compiling a program
  66. so that not only the desired output is generated, but also dependency
  67. information.</para>
  68. <indexterm zone="ch-system-automake elisp-comp"><primary sortas="b-elisp-comp">elisp-comp</primary></indexterm>
  69. <para id="elisp-comp"><command>elisp-comp</command> byte-compiles Emacs Lisp code.</para>
  70. <indexterm zone="ch-system-automake install-sh"><primary sortas="b-install-sh">install-sh</primary></indexterm>
  71. <para id="install-sh"><command>install-sh</command> is a script that installs a program,
  72. a script, or a datafile.</para>
  73. <indexterm zone="ch-system-automake mdate-sh"><primary sortas="b-mdate-sh">mdate-sh</primary></indexterm>
  74. <para id="mdate-sh"><command>mdate-sh</command> is a script that prints the modification
  75. time of a file or directory.</para>
  76. <indexterm zone="ch-system-automake missing"><primary sortas="b-missing">missing</primary></indexterm>
  77. <para id="missing"><command>missing</command> is a script acting as a common stub for
  78. missing GNU programs during an installation.</para>
  79. <indexterm zone="ch-system-automake mkinstalldirs"><primary sortas="b-mkinstalldirs">mkinstalldirs</primary></indexterm>
  80. <para id="mkinstalldirs"><command>mkinstalldirs</command> is a script that creates a directory
  81. tree.</para>
  82. <indexterm zone="ch-system-automake py-compile"><primary sortas="b-py-compile">py-compile</primary></indexterm>
  83. <para id="py-compile"><command>py-compile</command> compiles a Python program.</para>
  84. <indexterm zone="ch-system-automake symlink-tree"><primary sortas="b-symlink-tree">symlink-tree</primary></indexterm>
  85. <para id="symlink-tree"><command>symlink-tree</command> is a script to create a symlink tree of
  86. a directory tree.</para>
  87. <indexterm zone="ch-system-automake ylwrap"><primary sortas="b-ylwrap">ylwrap</primary></indexterm>
  88. <para id="ylwrap"><command>ylwrap</command> is a wrapper for lex and yacc.</para>
  89. </sect2>
  90. </sect1>