aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-08-09 22:39:53 +0800
committerXi Ruoyao <xry111@xry111.site>2023-08-09 22:39:53 +0800
commit30e0a7b28fa9c2a1c2e0347cf62eef44448ab1b3 (patch)
treee36e6dc2c53ad8423efb6bcb743f386b270e2a57
parent7c306241b640614e28805de23becdd339fcb2d73 (diff)
gawk: Move the creation of awk.1 after the explanation of the previous command
-rw-r--r--chapter08/gawk.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml
index a6b74460b..cc9348d90 100644
--- a/chapter08/gawk.xml
+++ b/chapter08/gawk.xml
@@ -61,12 +61,6 @@ su tester -c "PATH=$PATH make check"</userinput></screen>
<screen><userinput remap="install">make LN='ln -f' install</userinput></screen>
- <para>The installation process already created <command>awk</command>
- as a symlink to <command>gawk</command>, create its man page as a
- symlink as well:</para>
-
-<screen><userinput remap="install">ln -sv gawk.1 /usr/share/man/man1/awk.1</userinput></screen>
-
<variablelist>
<title>The meaning of the overridden make variable:</title>
@@ -79,6 +73,12 @@ su tester -c "PATH=$PATH make check"</userinput></screen>
</varlistentry>
</variablelist>
+ <para>The installation process already created <command>awk</command>
+ as a symlink to <command>gawk</command>, create its man page as a
+ symlink as well:</para>
+
+<screen><userinput remap="install">ln -sv gawk.1 /usr/share/man/man1/awk.1</userinput></screen>
+
<para>If desired, install the documentation:</para>
<screen><userinput remap="install">mkdir -pv /usr/share/doc/gawk-&gawk-version;