Browse Source

chapter05: Translate bison instruction

Xi Ruoyao 6 years ago
parent
commit
05a137b005
1 changed files with 8 additions and 8 deletions
  1. 8 8
      chapter05/bison.xml

+ 8 - 8
chapter05/bison.xml

@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
@@ -41,21 +41,21 @@
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of Bison</title>
+    <title>安装 Bison</title>
 
-    <para>Prepare Bison for compilation:</para>
+    <para>准备编译 Bison:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
 
-    <para>Compile the package:</para>
+    <para>编译该软件包:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
 
-    <para>To test the results, issue:</para>
+    <para>如果希望测试编译结果,运行:</para>
 
 <screen><userinput remap="test">make check</userinput></screen>
 
-    <para>Install the package:</para>
+    <para>安装该软件包:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>
 
@@ -64,8 +64,8 @@
   <sect2 role="content">
     <title/>
 
-    <para>Details on this package are located in
-    <xref linkend="contents-bison" role="."/></para>
+    <para>该软件包的详细信息可以在
+		<xref linkend="contents-bison"/> 中找到。</para>
 
   </sect2>