Browse Source

converted c6-make

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2341 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 22 years ago
parent
commit
2424a66ecc
4 changed files with 24 additions and 22 deletions
  1. 0 13
      chapter06/make-exp.xml
  2. 21 5
      chapter06/make-inst.xml
  3. 2 3
      chapter06/make.xml
  4. 1 1
      entities/make.ent

+ 0 - 13
chapter06/make-exp.xml

@@ -1,13 +0,0 @@
-<sect2>
-<title>Command explanations</title>
-
-<para>By default <filename>/usr/bin/make</filename> is installed setgid
-kmem. This is needed on some systems so it can check the load average by
-using <filename>/dev/kmem</filename>. However, on Linux systems, setgid
-kmem is not needed, so we remove this from our <filename>make</filename>
-binary. This also fixes problems with the <filename>make</filename>
-ignoring certain variables like
-<emphasis>LD_LIBRARY_PATH</emphasis>.</para>
-
-</sect2>
-

+ 21 - 5
chapter06/make-inst.xml

@@ -1,12 +1,28 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2>
 <title>Installation of Make</title>
 
-<para>Install Make by running the following commands:</para>
+<para>Prepare Make to be compiled:</para>
+
+<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
+
+<para>By default <filename>/usr/bin/make</filename> is installed setgid
+kmem. This is needed on some systems so it can check the load average by
+using <filename>/dev/kmem</filename>. However, on Linux systems, setgid
+kmem is not needed, so we remove this from our <filename>make</filename>
+binary. This also fixes problems with the <filename>make</filename>
+ignoring certain variables like <emphasis>LD_LIBRARY_PATH</emphasis>.</para>
 
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
-make &amp;&amp;
-make install &amp;&amp;
-chgrp root /usr/bin/make &amp;&amp;
+<para><screen><userinput>chgrp root /usr/bin/make &amp;&amp;
 chmod 755 /usr/bin/make</userinput></screen></para>
 
 </sect2>

+ 2 - 3
chapter06/make.xml

@@ -5,9 +5,8 @@
 <screen>Estimated build time:           &make-time;
 Estimated required disk space:  &make-compsize;</screen>
 
-&c6-make-inst;
-&c6-make-exp;
-&aa-make-desc;
+&aa-make-shortdesc;
 &aa-make-dep;
+&c6-make-inst;
 
 </sect1>

+ 1 - 1
entities/make.ent

@@ -5,10 +5,10 @@
 
 <!ENTITY c6-make SYSTEM "../chapter06/make.xml">
 <!ENTITY c6-make-inst SYSTEM "../chapter06/make-inst.xml">
-<!ENTITY c6-make-exp SYSTEM "../chapter06/make-exp.xml">
 
 <!ENTITY aa-make SYSTEM "../appendixa/make.xml">
 <!ENTITY aa-make-shortdesc SYSTEM "../appendixa/make-shortdesc.xml">
+<!ENTITY aa-make-shortdesc SYSTEM "../appendixa/make-shortdesc.xml">
 <!ENTITY aa-make-desc SYSTEM "../appendixa/make-desc.xml">
 <!ENTITY aa-make-dep SYSTEM "../appendixa/make-dep.xml">
 <!ENTITY aa-make-down SYSTEM "../appendixa/make-down.xml">