aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gawk-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gawk-inst.xml')
-rw-r--r--chapter05/gawk-inst.xml6
1 files changed, 1 insertions, 5 deletions
diff --git a/chapter05/gawk-inst.xml b/chapter05/gawk-inst.xml
index 7b0862fd5..ff3dedb8f 100644
--- a/chapter05/gawk-inst.xml
+++ b/chapter05/gawk-inst.xml
@@ -13,11 +13,7 @@ class="directory">/usr/bin</filename> it'll run <userinput>rm -rf
<para>Install Gawk by running the following commands:</para>
-<para><screen><userinput>cp awklib/Makefile.in awklib/Makefile.in.backup &amp;&amp;
-sed -e '/^datadir/s/awk/gawk/' \
--e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \
-&nbsp;&nbsp;&nbsp;&nbsp;&gt; awklib/Makefile.in &amp;&amp;
-CPPFLAGS=-Dre_max_failures=re_max_failures2 \
+<para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
./configure --prefix=$LFS/static --disable-nls \
&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/static/bin &amp;&amp;
make LDFLAGS=-static &amp;&amp;