aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gawk-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gawk-inst.xml')
-rw-r--r--chapter06/gawk-inst.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml
index dd602e051..c6d4a6067 100644
--- a/chapter06/gawk-inst.xml
+++ b/chapter06/gawk-inst.xml
@@ -3,7 +3,12 @@
<para>Install Gawk by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+<para><screen><userinput>cd awklib &amp;&amp;
+cp Makefile.in 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;
+./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>