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