aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bison-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/bison-inst.xml')
-rw-r--r--chapter06/bison-inst.xml32
1 files changed, 9 insertions, 23 deletions
diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml
index 8d83c0bad..d196366f2 100644
--- a/chapter06/bison-inst.xml
+++ b/chapter06/bison-inst.xml
@@ -1,34 +1,22 @@
<sect2>
<title>Installation of Bison</title>
-<para>
-Install Bison by running the following commands:
-</para>
+<para>Install Bison by running the following commands:</para>
-<para>
-<screen>
-<userinput>./configure --prefix=/usr \</userinput>
+<para><screen><userinput>./configure --prefix=/usr \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--datadir=/usr/share/bison &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput>
-</screen>
-</para>
+<userinput>make install</userinput></screen></para>
-<para>
-Some programs don't know about bison and try to find the yacc program
+<para>Some programs don't know about bison and try to find the yacc program
(bison is a (better) alternative for yacc). So to please those few
programs out there we'll create a yacc script that calls bison and have
-it emulate yacc's output file name conventions).
-</para>
+it emulate yacc's output file name conventions).</para>
-<para>
-Create a new file <filename>/usr/bin/yacc</filename> by running the
-following:
-</para>
+<para>Create a new file <filename>/usr/bin/yacc</filename> by running the
+following:</para>
-<para>
-<screen>
-<userinput>cat &gt; /usr/bin/yacc &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /usr/bin/yacc &lt;&lt; "EOF"</userinput>
#!/bin/sh
# Begin /usr/bin/yacc
@@ -36,9 +24,7 @@ following:
# End /usr/bin/yacc
<userinput>EOF</userinput>
-<userinput>chmod 755 /usr/bin/yacc</userinput>
-</screen>
-</para>
+<userinput>chmod 755 /usr/bin/yacc</userinput></screen></para>
</sect2>