Changeset b06fc9c


Ignore:
Timestamp:
06/29/2014 06:37:09 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
87ae993
Parents:
cb1280a
Message:

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rcb1280a rb06fc9c  
    5050          <para>[Chris] - Various text updates.
    5151          Fixes <ulink url="&lfs-ticket-root;3622">#3622</ulink>.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[Chris] - Changed GMP instructions to generate and install
     55          HTML documentation from the Makefile rather than manually copying
     56          files, and added doc installation instructions for MPC.
     57          Fixes <ulink url="&lfs-ticket-root;3618">#3618</ulink>.</para>
    5258        </listitem>
    5359      </itemizedlist>
  • chapter06/gmp.xml

    rcb1280a rb06fc9c  
    5353    <para>Prepare GMP for compilation:</para>
    5454
    55 <screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx</userinput></screen>
     55<screen><userinput remap="configure">./configure --prefix=/usr --enable-cxx \
     56    --docdir=/usr/share/doc/gmp-&gmp-version;</userinput></screen>
    5657
    5758    <variablelist>
     
    6566      </varlistentry>
    6667
     68      <varlistentry>
     69        <term><parameter>--docdir=/usr/share/doc-gmp&gmp-version;</parameter></term>
     70        <listitem>
     71          <para>This variable specifies the correct place for the
     72          documentation.</para>
     73        </listitem>
     74      </varlistentry>
     75
    6776    </variablelist>
    6877
    69     <para>Compile the package:</para>
     78    <para>Compile the package and generate the HTML documentation:</para>
    7079
    71 <screen><userinput remap="make">make</userinput></screen>
     80<screen><userinput remap="make">make
     81make html</userinput></screen>
    7282
    7383    <important>
     
    8595<screen><userinput remap="test">awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log</userinput></screen>
    8696
    87     <para>Install the package:</para>
     97    <para>Install the package and its documentation:</para>
    8898
    89 <screen><userinput remap="install">make install</userinput></screen>
    90 
    91     <para>If desired, install the documentation:</para>
    92 
    93 <screen><userinput remap="install">mkdir -v /usr/share/doc/gmp-&gmp-version;
    94 cp    -v doc/{isa_abi_headache,configuration} doc/*.html \
    95          /usr/share/doc/gmp-&gmp-version;</userinput></screen>
     99<screen><userinput remap="install">make install
     100make install-html</userinput></screen>
    96101
    97102  </sect2>
  • chapter06/mpc.xml

    rcb1280a rb06fc9c  
    4545    <para>Prepare MPC for compilation:</para>
    4646
    47 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
     47<screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/mpc-&mpc-version;</userinput></screen>
    4848
    49     <para>Compile the package:</para>
     49    <para>Compile the package and generate the HTML documentation:</para>
    5050
    51 <screen><userinput remap="make">make</userinput></screen>
     51<screen><userinput remap="make">make
     52make html</userinput></screen>
    5253
    5354    <para>To test the results, issue:</para>
     
    5556<screen><userinput remap="test">make check</userinput></screen>
    5657
    57     <para>Install the package:</para>
     58    <para>Install the package and its documentation:</para>
    5859
    59 <screen><userinput remap="install">make install</userinput></screen>
     60<screen><userinput remap="install">make install
     61make install-html</userinput></screen>
    6062
    6163  </sect2>
     
    6769    <segmentedlist>
    6870      <segtitle>Installed Libraries</segtitle>
     71      <segtitle>Installed Directory</segtitle>
    6972
    7073      <seglistitem>
    7174        <seg>libmpc.{a,so}</seg>
     75        <seg>/usr/share/doc/mpc-&mpc-version;</seg>
    7276      </seglistitem>
    7377    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.