make.xml 2.6 KB

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