diff options
Diffstat (limited to 'chapter06/gawk-inst.xml')
-rw-r--r-- | chapter06/gawk-inst.xml | 7 |
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 && +<para><screen><userinput>cd awklib && +cp Makefile.in Makefile.in.backup && +sed -e '/^datadir/s/awk/gawk/' \ +-e '/^libexecdir/s%/awk%%' Makefile.in.backup > Makefile.in && +cd .. && +./configure --prefix=/usr && make && make install</userinput></screen></para> |