aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gawk-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-03-17 17:08:01 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-03-17 17:08:01 +0000
commitf88a4aebfba5b8bcfed586ec0489bfa8ff438302 (patch)
tree5b7cd5eb544425a96a94ef16aa540ff138a93ae8 /chapter06/gawk-inst.xml
parent53b4ec1e0129638f1f0e7a4ed7de04f17f0a8d79 (diff)
no cd necessary
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1725 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gawk-inst.xml')
-rw-r--r--chapter06/gawk-inst.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml
index 0796a41c4..de807a849 100644
--- a/chapter06/gawk-inst.xml
+++ b/chapter06/gawk-inst.xml
@@ -3,11 +3,10 @@
<para>Install Gawk by running the following commands:</para>
-<para><screen><userinput>cd awklib &amp;&amp;
-cp Makefile.in Makefile.in.backup &amp;&amp;
+<para><screen><userinput>cp awklib/Makefile.in awklib/Makefile.in.backup &amp;&amp;
sed -e '/^datadir/s/awk/gawk/' \
--e '/^libexecdir/s%/awk%%' Makefile.in.backup &gt; Makefile.in &amp;&amp;
-cd .. &amp;&amp;
+-e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \
+&nbsp;&nbsp;&nbsp;&gt; awklib/Makefile.in &amp;&amp;
./configure --prefix=/usr --libexecdir=/usr/bin &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>