Bläddra i källkod

chapter06: Translate automake instruction

Xi Ruoyao 7 år sedan
förälder
incheckning
270a68e65c
1 ändrade filer med 23 tillägg och 24 borttagningar
  1. 23 24
      chapter06/automake.xml

+ 23 - 24
chapter06/automake.xml

@@ -23,8 +23,8 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Automake package contains programs for generating Makefiles for use
-    with Autoconf.</para>
+    <para>Automake 软件包包含自动生成 Makefile,以便和 Autoconf
+    	一同使用的程序。</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
@@ -49,17 +49,16 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>There are a couple of tests that incorrectly link to the 
-    wrong version of the flex library, so we temporarily work around
-    the problem.  Also, using the -j4 make option speeds up the tests, even on
-    systems with only one processor, due to internal delays in individual
-    tests.  运行下列命令以测试编译结果:</para>
+    <para>有一些测试不正确地链接到 flex 库的错误版本,
+	因此我们暂时绕过这一问题。另外,由于测试内部的时延,
+	即使在仅有单处理器的系统上,也使用 -j4 选项加速测试。
+    运行下列命令以测试编译结果:</para>
 
 <screen><userinput remap="test">sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &amp;:" t/lex-{clean,depend}-cxx.sh
 make -j4 check</userinput></screen>
 
-    <para>Two tests are known to fail in the LFS environment:
-    check12.sh and check12-w.sh.</para>
+    <para>已知两个测试在 LFS 环境中会失败:
+    check12.sh 和 check12-w.sh。</para>
 
     <para>安装该软件包:</para>
 
@@ -76,9 +75,9 @@ make -j4 check</userinput></screen>
       <segtitle>安装的目录</segtitle>
 
       <seglistitem>
-        <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and
-        automake-&am-minor-version; (hard linked with automake) </seg>
-        <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and
+        <seg>aclocal, aclocal-&am-minor-version; (与 aclocal 互为硬链接), automake, 以及
+        automake-&am-minor-version; (与 automake 互为硬链接) </seg>
+        <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, 以及
         /usr/share/doc/automake-&automake-version;</seg>
       </seglistitem>
     </segmentedlist>
@@ -91,8 +90,8 @@ make -j4 check</userinput></screen>
       <varlistentry id="aclocal">
         <term><command>aclocal</command></term>
         <listitem>
-          <para>Generates <filename>aclocal.m4</filename> files based on the
-          contents of <filename>configure.in</filename> files</para>
+          <para>根据 <filename>configure.in</filename> 文件内容
+          	  生成 <filename>aclocal.m4</filename>。</para>
           <indexterm zone="ch-system-automake aclocal">
             <primary sortas="b-aclocal">aclocal</primary>
           </indexterm>
@@ -102,7 +101,7 @@ make -j4 check</userinput></screen>
       <varlistentry id="aclocalversion">
         <term><command>aclocal-&am-minor-version;</command></term>
         <listitem>
-          <para>A hard link to <command>aclocal</command></para>
+          <para>指向 <command>aclocal</command> 的硬链接</para>
           <indexterm zone="ch-system-automake aclocalversion">
             <primary sortas="b-aclocal-&am-minor-version;">aclocal-&am-minor-version;</primary>
           </indexterm>
@@ -112,14 +111,14 @@ make -j4 check</userinput></screen>
       <varlistentry id="automake">
         <term><command>automake</command></term>
         <listitem>
-          <para>A tool for automatically generating
-          <filename>Makefile.in</filename> files from
-          <filename>Makefile.am</filename> files [To create all the
-          <filename>Makefile.in</filename> files for a package, run this program
-          in the top-level directory. By scanning the
-          <filename>configure.in</filename> file, it automatically finds each
-          appropriate <filename>Makefile.am</filename> file and generates the
-          corresponding <filename>Makefile.in</filename> file.]</para>
+          <para>一个根据
+          <filename>Makefile.am</filename> 文件,自动生成
+		  <filename>Makefile.in</filename> 文件的工具
+		  [为了创建软件包中的所有
+          <filename>Makefile.in</filename> 文件,在顶层目录运行该程序。
+          它通过扫描 <filename>configure.in</filename> 文件,找到每个适用的
+          <filename>Makefile.am</filename> 文件,并生成对应的
+          <filename>Makefile.in</filename> 文件。]</para>
           <indexterm zone="ch-system-automake automake">
             <primary sortas="b-automake">automake</primary>
           </indexterm>
@@ -129,7 +128,7 @@ make -j4 check</userinput></screen>
       <varlistentry id="automake-version">
         <term><command>automake-&am-minor-version;</command></term>
         <listitem>
-          <para>A hard link to <command>automake</command></para>
+          <para>指向 <command>automake</command> 的硬链接</para>
           <indexterm zone="ch-system-automake automake-version">
             <primary sortas="b-automake-&am-minor-version;">automake-&am-minor-version;</primary>
           </indexterm>