Ticket #3618: docs.patch

File docs.patch, 2.7 KB (added by Chris Staub, 10 years ago)
  • trunk/BOOK/chapter06/gmp.xml

     
    5252
    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>
    5859      <title>The meaning of the new configure options:</title>
     
    7071
    7172<screen><userinput remap="make">make</userinput></screen>
    7273
     74    <para>Generate the HTML documentation:</para>
     75
     76<screen><userinput>make html</userinput></screen>
     77
    7378    <important>
    7479      <para>The test suite for GMP in this section is considered critical.
    7580      Do not skip it under any circumstances.</para>
     
    8893
    8994<screen><userinput remap="install">make install</userinput></screen>
    9095
    91     <para>If desired, install the documentation:</para>
     96    <para>Install the HTML documentation:</para>
    9297
    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>
     98<screen><userinput>make install-html</userinput></screen>
    9699
    97100  </sect2>
    98101
  • trunk/BOOK/chapter06/mpc.xml

     
    4444
    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
    4949    <para>Compile the package:</para>
    5050
    5151<screen><userinput remap="make">make</userinput></screen>
    5252
     53    <para>Generate the HTML documentation:</para>
     54
     55<screen><userinput>make html</userinput></screen>
     56
    5357    <para>To test the results, issue:</para>
    5458
    5559<screen><userinput remap="test">make check</userinput></screen>
     
    5862
    5963<screen><userinput remap="install">make install</userinput></screen>
    6064
     65    <para>Install the HTML documentation:</para>
     66
     67<screen><userinput>make install-html</userinput></screen>
     68
    6169  </sect2>
    6270
    6371
     
    6674
    6775    <segmentedlist>
    6876      <segtitle>Installed Libraries</segtitle>
     77      <segtitle>Installed Directory</segtitle>
    6978
    7079      <seglistitem>
    7180        <seg>libmpc.{a,so}</seg>
     81        <seg>/usr/share/doc/mpc-&mpc-version;</seg>
    7282      </seglistitem>
    7383    </segmentedlist>
    7484