2 <title>Installation of Gawk</title>
4 <para>This package requires its patch to be applied before you can
5 install it. Make sure it's unpacked before running the installation
8 <para>Warning: do NOT run <userinput>make uninstall</userinput> on this
9 package if you apply the patch to change the
10 <filename class="directory">libexec</filename> directory definition. The
11 <emphasis>uninstall</emphasis> rule in the <filename>Makefile</filename>
12 file runs a command like <userinput>rm -rf
13 <libexecdir>/*</userinput> Since we change the <filename
14 class="directory">libexec</filename> directory to <filename
15 class="directory">/usr/bin</filename> it'll run <userinput>rm -rf
16 /usr/bin/*</userinput></para>
18 <para>Install Gawk by running the following commands:</para>
20 <para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch &&
21 ./configure --prefix=/usr --libexecdir=/usr/bin &&
23 make install</userinput></screen></para>