make.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 compiling packages.</para>
  21. <segmentedlist>
  22. <segtitle>&buildtime;</segtitle>
  23. <segtitle>&diskspace;</segtitle>
  24. <seglistitem>
  25. <seg>&make-ch6-sbu;</seg>
  26. <seg>&make-ch6-du;</seg>
  27. </seglistitem>
  28. </segmentedlist>
  29. </sect2>
  30. <sect2 role="installation">
  31. <title>Installation of Make</title>
  32. <para>First apply some upstream patches:</para>
  33. <screen><userinput remap="configure">patch -Np1 -i ../&make-fixes-patch;</userinput></screen>
  34. <para>Prepare Make for compilation:</para>
  35. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  36. <para>Compile the package:</para>
  37. <screen><userinput remap="make">make</userinput></screen>
  38. <para>To test the results, issue:</para>
  39. <screen><userinput remap="test">make check</userinput></screen>
  40. <para>Install the package:</para>
  41. <screen><userinput remap="install">make install</userinput></screen>
  42. </sect2>
  43. <sect2 id="contents-make" role="content">
  44. <title>Contents of Make</title>
  45. <segmentedlist>
  46. <segtitle>Installed program</segtitle>
  47. <seglistitem>
  48. <seg>make</seg>
  49. </seglistitem>
  50. </segmentedlist>
  51. <variablelist>
  52. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  53. <?dbfo list-presentation="list"?>
  54. <?dbhtml list-presentation="table"?>
  55. <varlistentry id="make">
  56. <term><command>make</command></term>
  57. <listitem>
  58. <para>Automatically determines which pieces of a package need to
  59. be (re)compiled and then issues the relevant commands</para>
  60. <indexterm zone="ch-system-make make">
  61. <primary sortas="b-make">make</primary>
  62. </indexterm>
  63. </listitem>
  64. </varlistentry>
  65. </variablelist>
  66. </sect2>
  67. </sect1>