aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/gawk.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/gawk.xml')
-rw-r--r--chapter08/gawk.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml
index cc9348d90..71e295652 100644
--- a/chapter08/gawk.xml
+++ b/chapter08/gawk.xml
@@ -59,15 +59,18 @@ su tester -c "PATH=$PATH make check"</userinput></screen>
<para>Install the package:</para>
-<screen><userinput remap="install">make LN='ln -f' install</userinput></screen>
+<screen><userinput remap="install">rm -f /usr/bin/gawk-&gawk-version;
+make install</userinput></screen>
<variablelist>
- <title>The meaning of the overridden make variable:</title>
+ <title>The meaning of the command:</title>
<varlistentry>
- <term><envar>LN='ln -f'</envar></term>
+ <term><envar>rm -f /usr/bin/gawk-&gawk-version;</envar></term>
<listitem>
- <para>This variable ensures that the previous hard link installed
+ <para>The building system will not recreate the hard link
+ <filename>gawk-&gawk-version;</filename> if it already exists.
+ Remove it to ensure that the previous hard link installed
in <xref linkend='ch-tools-gawk'/> is updated here.</para>
</listitem>
</varlistentry>