make.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. <!--
  33. <para>Again, work around an error caused by glibc-2.27 and later:</para>
  34. <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
  35. -->
  36. <para>Prepare Make for compilation:</para>
  37. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  38. <para>Compile the package:</para>
  39. <screen><userinput remap="make">make</userinput></screen>
  40. <para>The test suite needs to know where supporting perl files are located.
  41. We use an environment variable to accomplish this. To test the
  42. results, issue:</para>
  43. <screen><userinput remap="test">make PERL5LIB=$PWD/tests/ check</userinput></screen>
  44. <para>Install the package:</para>
  45. <screen><userinput remap="install">make install</userinput></screen>
  46. </sect2>
  47. <sect2 id="contents-make" role="content">
  48. <title>Contents of Make</title>
  49. <segmentedlist>
  50. <segtitle>Installed program</segtitle>
  51. <seglistitem>
  52. <seg>make</seg>
  53. </seglistitem>
  54. </segmentedlist>
  55. <variablelist>
  56. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  57. <?dbfo list-presentation="list"?>
  58. <?dbhtml list-presentation="table"?>
  59. <varlistentry id="make">
  60. <term><command>make</command></term>
  61. <listitem>
  62. <para>Automatically determines which pieces of a package need to
  63. be (re)compiled and then issues the relevant commands</para>
  64. <indexterm zone="ch-system-make make">
  65. <primary sortas="b-make">make</primary>
  66. </indexterm>
  67. </listitem>
  68. </varlistentry>
  69. </variablelist>
  70. </sect2>
  71. </sect1>