diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-07-22 19:45:10 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-07-22 19:45:10 +0000 |
commit | b822811980a5f82726cb641cbeff66be9eb6d92a (patch) | |
tree | 27c4db3c62aaea065b053e43c39b2ba44c04a05f /chapter06/bison-inst.xml | |
parent | 46f5461af92bc70c62bbb92895032b930954d835 (diff) |
XML changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@827 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/bison-inst.xml')
-rw-r--r-- | chapter06/bison-inst.xml | 32 |
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> --datadir=/usr/share/bison &&</userinput> <userinput>make &&</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 > /usr/bin/yacc << "EOF"</userinput> +<para><screen><userinput>cat > /usr/bin/yacc << "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> |