瀏覽代碼

Converted dynamic gawk to new layout.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2348 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Timothy Bauscher 22 年之前
父節點
當前提交
fd296c1fc9
共有 3 個文件被更改,包括 21 次插入20 次删除
  1. 0 11
      chapter06/gawk-exp.xml
  2. 19 6
      chapter06/gawk-inst.xml
  3. 2 3
      chapter06/gawk.xml

+ 0 - 11
chapter06/gawk-exp.xml

@@ -1,11 +0,0 @@
-<sect2>
-<title>Command explanations</title>
-
-<para><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch:</userinput> This
-patch alters the code that determines the location of the
-<filename class="directory">libexec</filename> directory. This patch will
-allow us to override it by passing <emphasis>--libexecdir</emphasis> to the
-configure script.</para>
-
-</sect2>
-

+ 19 - 6
chapter06/gawk-inst.xml

@@ -1,15 +1,28 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
 <sect2>
 <title>Installation of Gawk</title>
 
 <para>This package requires its patch to be applied before you can
-install it.</para>
+install it. Issue the following command to apply the patch:</para>
+
+<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch</userinput></screen></para>
+
+<para>This patch alters the code that determines the location of the
+libexec directory. The patch will allow us to override it by passing
+<emphasis>--libexecdir</emphasis> to the configure script.</para>
+
+<para>Prepare Texinfo to be compiled:</para>
+
+<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
 
-<para>Install Gawk by running the following commands:</para>
+<para>Finish installing the package:</para>
 
-<para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch &amp;&amp;
-./configure --prefix=/usr --libexecdir=/usr/bin &amp;&amp;
-make &amp;&amp;
-make install</userinput></screen></para>
+<para><screen><userinput>make install</userinput></screen></para>
 
 </sect2>
 

+ 2 - 3
chapter06/gawk.xml

@@ -5,10 +5,9 @@
 <screen>Estimated build time:           &gawk-time;
 Estimated required disk space:  &gawk-compsize;</screen>
 
-&c6-gawk-inst;
-&c6-gawk-exp;
-&aa-gawk-desc;
+&aa-gawk-shortdesc;
 &aa-gawk-dep;
+&c6-gawk-inst;
 
 </sect1>