aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bison.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-05-03 21:02:51 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-05-03 21:02:51 +0000
commitefcb3933433838b71f3a4a53ec1ac6d899aaec0b (patch)
treef0b1fb24d5ac7ebb93cc2deddefbc16938ea49d0 /chapter05/bison.xml
parent9d719e24c33f9a2ecf8a5582cd811c43a8fa46c2 (diff)
Make the new book
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/bison.xml')
-rw-r--r--chapter05/bison.xml24
1 files changed, 18 insertions, 6 deletions
diff --git a/chapter05/bison.xml b/chapter05/bison.xml
index 98c8cdc35..e6ed2a7f8 100644
--- a/chapter05/bison.xml
+++ b/chapter05/bison.xml
@@ -45,19 +45,31 @@
<para>Prepare Bison for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr \
+ --build=$(build-aux/config.guess) \
+ --host=$LFS_TGT \
+ --docdir=/usr/share/doc/bison-&bison-version;</userinput></screen>
- <para>Compile the package:</para>
+ <variablelist>
+ <title>The meaning of the new configure option:</title>
-<screen><userinput remap="make">make</userinput></screen>
+ <varlistentry>
+ <term><parameter>--docdir=/usr/share/doc/bison-&bison-version;</parameter></term>
+ <listitem>
+ <para>This tells the build system to install bison documentation
+ into a versioned directory.</para>
+ </listitem>
+ </varlistentry>
- <para>To test the results, issue:</para>
+ </variablelist>
-<screen><userinput remap="test">make check</userinput></screen>
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
<para>Install the package:</para>
-<screen><userinput remap="install">make install</userinput></screen>
+<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
</sect2>