Installation of Gawk
Warning: do NOT run make uninstall on this
package if you apply the sed fix to change the
libexec directory definition. The
uninstall rule in the Makefile
file runs a command like rm -rf
<libexecdir>/* Since we change the libexec directory to /usr/bin it'll run rm -rf
/usr/bin/*
Install Gawk by running the following commands:
cp awklib/Makefile.in awklib/Makefile.in.backup &&
sed -e '/^datadir/s/awk/gawk/' \
-e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \
> awklib/Makefile.in &&
./configure --prefix=/usr --libexecdir=/usr/bin &&
make &&
make install