make.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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-make" role="wrap">
  8. <?dbhtml filename="make.html"?>
  9. <sect1info condition="script">
  10. <productname>make</productname>
  11. <productnumber>&make-version;</productnumber>
  12. <address>&make-url;</address>
  13. </sect1info>
  14. <title>Make-&make-version;</title>
  15. <indexterm zone="ch-system-make">
  16. <primary sortas="a-Make">Make</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Make package contains a program for controlling the generation of
  21. executables and other non-source files of a program from the program's
  22. source files. .</para>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&make-ch6-sbu;</seg>
  28. <seg>&make-ch6-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of Make</title>
  34. <!--
  35. <para>Again, work around an error caused by glibc-2.27 and later:</para>
  36. <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
  37. -->
  38. <para>Prepare Make for compilation:</para>
  39. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  40. <para>Compile the package:</para>
  41. <screen><userinput remap="make">make</userinput></screen>
  42. <para>The test suite needs to know where supporting perl files are located.
  43. We use an environment variable to accomplish this. To test the
  44. results, issue:</para>
  45. <screen><userinput remap="test">make check</userinput></screen>
  46. <para>Install the package:</para>
  47. <screen><userinput remap="install">make install</userinput></screen>
  48. </sect2>
  49. <sect2 id="contents-make" role="content">
  50. <title>Contents of Make</title>
  51. <segmentedlist>
  52. <segtitle>Installed program</segtitle>
  53. <seglistitem>
  54. <seg>make</seg>
  55. </seglistitem>
  56. </segmentedlist>
  57. <variablelist>
  58. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  59. <?dbfo list-presentation="list"?>
  60. <?dbhtml list-presentation="table"?>
  61. <varlistentry id="make">
  62. <term><command>make</command></term>
  63. <listitem>
  64. <para>Automatically determines which pieces of a package need to
  65. be (re)compiled and then issues the relevant commands</para>
  66. <indexterm zone="ch-system-make make">
  67. <primary sortas="b-make">make</primary>
  68. </indexterm>
  69. </listitem>
  70. </varlistentry>
  71. </variablelist>
  72. </sect2>
  73. </sect1>