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.xml21
1 files changed, 12 insertions, 9 deletions
diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml
index f5ae99dbe..8d83c0bad 100644
--- a/chapter06/bison-inst.xml
+++ b/chapter06/bison-inst.xml
@@ -5,13 +5,14 @@
Install Bison by running the following commands:
</para>
-<blockquote><literallayout>
- <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>
-</literallayout></blockquote>
+<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>
<para>
Some programs don't know about bison and try to find the yacc program
@@ -25,7 +26,8 @@ Create a new file <filename>/usr/bin/yacc</filename> by running the
following:
</para>
-<literallayout>
+<para>
+<screen>
<userinput>cat &gt; /usr/bin/yacc &lt;&lt; "EOF"</userinput>
#!/bin/sh
# Begin /usr/bin/yacc
@@ -35,7 +37,8 @@ following:
# End /usr/bin/yacc
<userinput>EOF</userinput>
<userinput>chmod 755 /usr/bin/yacc</userinput>
-</literallayout>
+</screen>
+</para>
</sect2>