aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bison-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-07-10 15:06:31 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-07-10 15:06:31 +0000
commit3229c6b8a21173d078d03094e1dfc931bd6146bc (patch)
tree18c04387a74a9559938b9c3a26bad21e80574c52 /chapter06/bison-inst.xml
parentb4ffa369d68fbce4b8e9bc30474e01630a41f303 (diff)
Changed literallayout's to screen's
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@771 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>