Ticket #3618: docs.patch
File docs.patch, 2.7 KB (added by , 10 years ago) |
---|
-
trunk/BOOK/chapter06/gmp.xml
52 52 53 53 <para>Prepare GMP for compilation:</para> 54 54 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> 56 57 57 58 <variablelist> 58 59 <title>The meaning of the new configure options:</title> … … 70 71 71 72 <screen><userinput remap="make">make</userinput></screen> 72 73 74 <para>Generate the HTML documentation:</para> 75 76 <screen><userinput>make html</userinput></screen> 77 73 78 <important> 74 79 <para>The test suite for GMP in this section is considered critical. 75 80 Do not skip it under any circumstances.</para> … … 88 93 89 94 <screen><userinput remap="install">make install</userinput></screen> 90 95 91 <para>I f desired, install thedocumentation:</para>96 <para>Install the HTML documentation:</para> 92 97 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> 96 99 97 100 </sect2> 98 101 -
trunk/BOOK/chapter06/mpc.xml
44 44 45 45 <para>Prepare MPC for compilation:</para> 46 46 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> 48 48 49 49 <para>Compile the package:</para> 50 50 51 51 <screen><userinput remap="make">make</userinput></screen> 52 52 53 <para>Generate the HTML documentation:</para> 54 55 <screen><userinput>make html</userinput></screen> 56 53 57 <para>To test the results, issue:</para> 54 58 55 59 <screen><userinput remap="test">make check</userinput></screen> … … 58 62 59 63 <screen><userinput remap="install">make install</userinput></screen> 60 64 65 <para>Install the HTML documentation:</para> 66 67 <screen><userinput>make install-html</userinput></screen> 68 61 69 </sect2> 62 70 63 71 … … 66 74 67 75 <segmentedlist> 68 76 <segtitle>Installed Libraries</segtitle> 77 <segtitle>Installed Directory</segtitle> 69 78 70 79 <seglistitem> 71 80 <seg>libmpc.{a,so}</seg> 81 <seg>/usr/share/doc/mpc-&mpc-version;</seg> 72 82 </seglistitem> 73 83 </segmentedlist> 74 84