mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-08 05:21:02 +01:00
Add documentation installation commands for MPC, and update commands for GMP
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10590 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
cb1280a75e
commit
b06fc9c775
@ -50,6 +50,12 @@
|
|||||||
<para>[Chris] - Various text updates.
|
<para>[Chris] - Various text updates.
|
||||||
Fixes <ulink url="&lfs-ticket-root;3622">#3622</ulink>.</para>
|
Fixes <ulink url="&lfs-ticket-root;3622">#3622</ulink>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>[Chris] - Changed GMP instructions to generate and install
|
||||||
|
HTML documentation from the Makefile rather than manually copying
|
||||||
|
files, and added doc installation instructions for MPC.
|
||||||
|
Fixes <ulink url="&lfs-ticket-root;3618">#3618</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
@ -52,7 +52,8 @@
|
|||||||
|
|
||||||
<para>Prepare GMP for compilation:</para>
|
<para>Prepare GMP for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx</userinput></screen>
|
<screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx \
|
||||||
|
--docdir=/usr/share/doc/gmp-&gmp-version;</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the new configure options:</title>
|
<title>The meaning of the new configure options:</title>
|
||||||
@ -64,11 +65,20 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><parameter>--docdir=/usr/share/doc-gmp&gmp-version;</parameter></term>
|
||||||
|
<listitem>
|
||||||
|
<para>This variable specifies the correct place for the
|
||||||
|
documentation.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package and generate the HTML documentation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="make">make</userinput></screen>
|
<screen><userinput remap="make">make
|
||||||
|
make html</userinput></screen>
|
||||||
|
|
||||||
<important>
|
<important>
|
||||||
<para>The test suite for GMP in this section is considered critical.
|
<para>The test suite for GMP in this section is considered critical.
|
||||||
@ -84,15 +94,10 @@
|
|||||||
|
|
||||||
<screen><userinput remap="test">awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log</userinput></screen>
|
<screen><userinput remap="test">awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log</userinput></screen>
|
||||||
|
|
||||||
<para>Install the package:</para>
|
<para>Install the package and its documentation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="install">make install</userinput></screen>
|
<screen><userinput remap="install">make install
|
||||||
|
make install-html</userinput></screen>
|
||||||
<para>If desired, install the documentation:</para>
|
|
||||||
|
|
||||||
<screen><userinput remap="install">mkdir -v /usr/share/doc/gmp-&gmp-version;
|
|
||||||
cp -v doc/{isa_abi_headache,configuration} doc/*.html \
|
|
||||||
/usr/share/doc/gmp-&gmp-version;</userinput></screen>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -44,19 +44,21 @@
|
|||||||
|
|
||||||
<para>Prepare MPC for compilation:</para>
|
<para>Prepare MPC for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
<screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package and generate the HTML documentation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="make">make</userinput></screen>
|
<screen><userinput remap="make">make
|
||||||
|
make html</userinput></screen>
|
||||||
|
|
||||||
<para>To test the results, issue:</para>
|
<para>To test the results, issue:</para>
|
||||||
|
|
||||||
<screen><userinput remap="test">make check</userinput></screen>
|
<screen><userinput remap="test">make check</userinput></screen>
|
||||||
|
|
||||||
<para>Install the package:</para>
|
<para>Install the package and its documentation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="install">make install</userinput></screen>
|
<screen><userinput remap="install">make install
|
||||||
|
make install-html</userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
@ -66,9 +68,11 @@
|
|||||||
|
|
||||||
<segmentedlist>
|
<segmentedlist>
|
||||||
<segtitle>Installed Libraries</segtitle>
|
<segtitle>Installed Libraries</segtitle>
|
||||||
|
<segtitle>Installed Directory</segtitle>
|
||||||
|
|
||||||
<seglistitem>
|
<seglistitem>
|
||||||
<seg>libmpc.{a,so}</seg>
|
<seg>libmpc.{a,so}</seg>
|
||||||
|
<seg>/usr/share/doc/mpc-&mpc-version;</seg>
|
||||||
</seglistitem>
|
</seglistitem>
|
||||||
</segmentedlist>
|
</segmentedlist>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user