Przeglądaj źródła

chapter06: Translate libpipeline and make instruction

Xi Ruoyao 7 lat temu
rodzic
commit
36f896c00c
2 zmienionych plików z 11 dodań i 13 usunięć
  1. 4 5
      chapter06/libpipeline.xml
  2. 7 8
      chapter06/make.xml

+ 4 - 5
chapter06/libpipeline.xml

@@ -23,8 +23,8 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Libpipeline package contains a library for manipulating pipelines
-    of subprocesses in a flexible and convenient way.</para>
+	<para>Libpipeline 软件包包含用于灵活、方便地处理子进程流水线的库。
+	</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
@@ -39,7 +39,7 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>安装Libpipeline</title>
+    <title>安装 Libpipeline</title>
 
     <para>准备安装 Libpipeline:</para>
 
@@ -94,8 +94,7 @@
       <varlistentry id="libpipeline">
         <term><filename class="libraryfile">libpipeline</filename></term>
         <listitem>
-          <para>This library is used to safely construct pipelines between
-          subprocesses</para>
+          <para>用于安全地在子进程之间构建流水线</para>
           <indexterm zone="ch-system-libpipeline">
             <primary sortas="c-libpipeline">libpipeline</primary>
           </indexterm>

+ 7 - 8
chapter06/make.xml

@@ -23,7 +23,7 @@
   <sect2 role="package">
     <title/>
 
-    <para>The Make package contains a program for compiling packages.</para>
+    <para>Make 软件包包含用于编译软件包的程序。</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
@@ -38,9 +38,9 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>安装Make</title>
+    <title>安装 Make</title>
 
-    <para>Again, work around an error caused by glibc-2.27:</para>
+    <para>再一次地,绕过 glibc-2.27 引入的一个问题:</para>
 
 <screen><userinput remap="pre">sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c</userinput></screen>
     <para>准备安装 Make:</para>
@@ -51,9 +51,8 @@
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>The test suite needs to know where supporting perl files are located.
-    We use an envronment variable to accomplish this.  To test the 
-    results, issue:</para>
+    <para>测试套件需要知道 perl 支持文件的位置。
+    我们使用环境变量提供该位置,运行下列命令测试编译结果:</para>
 
 <screen><userinput remap="test">make PERL5LIB=$PWD/tests/ check</userinput></screen>
 
@@ -83,8 +82,8 @@
       <varlistentry id="make">
         <term><command>make</command></term>
         <listitem>
-          <para>Automatically determines which pieces of a package need to
-          be (re)compiled and then issues the relevant commands</para>
+          <para>自动确定软件包中需要(重新)构建的部分,并执行对应命令
+          </para>
           <indexterm zone="ch-system-make make">
             <primary sortas="b-make">make</primary>
           </indexterm>