aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorThomas Balu Walter <tw@itreff.de>2001-03-30 23:43:09 +0000
committerThomas Balu Walter <tw@itreff.de>2001-03-30 23:43:09 +0000
commit123880fa3b906bacae2ebda392a0ed99eda4edc3 (patch)
treee4684e46f798bd31ec932a359648d63c03d7a062 /chapter06
parent60c3d93571e2235e46938e9760ff182cf055910d (diff)
easier procps-installation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@386 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/procps-exp.xml11
-rw-r--r--chapter06/procps-inst.xml5
2 files changed, 7 insertions, 9 deletions
diff --git a/chapter06/procps-exp.xml b/chapter06/procps-exp.xml
index f08fe8383..0b5a00c2c 100644
--- a/chapter06/procps-exp.xml
+++ b/chapter06/procps-exp.xml
@@ -2,12 +2,11 @@
<title>Command explanations</title>
<para>
-<userinput>sed "s/XConsole/#XConsole/" Makefile | make -f -:</userinput>
-This will comment out the XConsole variable in the Makefile and pipe the
-output of sed (the modified Makefile) directly to the make program. This
-is an alternate and more efficient way to direct the output to a file
-and tell make to use that alternate file. The XConsole build is disabled
-because it can't be build yet because we don't have X installed yet.
+<userinput>make XSCPT='' install:</userinput>
+This will set the Makefile variable XSCPT to an empty value so that
+the XConsole installation is disabled. Otherwise "Make install" tries to
+copy the file XConsole to /usr/X11R6/bin.
+And that directory does not exist, because X is not installed yet.
</para>
</sect2>
diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml
index 917def8c5..f89712ad0 100644
--- a/chapter06/procps-inst.xml
+++ b/chapter06/procps-inst.xml
@@ -7,9 +7,8 @@ Install Procps by running the following commands:
<blockquote><literallayout>
- <userinput>sed "s/XConsole/#XConsole/" Makefile | make -f -
- &amp;&amp;</userinput>
- <userinput>sed "s/XConsole/#XConsole/" Makefile | make -f - install
+ <userinput>make &amp;&amp;</userinput>
+ <userinput>make XSCPT='' install
&amp;&amp;</userinput>
<userinput>mv /usr/bin/kill /bin</userinput>