Ignore:
Timestamp:
05/21/2019 12:39:37 PM (5 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
77deb22e
Parents:
1dbb694f
Message:

First round of remap attributes; the "doc" ones + a few "test". Rewrote some
parts so that doc that can be installed with recommended deps is in main
instructions. Also, move doc instructions in <command> tags to <screen>.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21613 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libgcrypt.xml

    r1dbb694f ra42c273  
    103103
    104104<screen><userinput>./configure --prefix=/usr &amp;&amp;
    105 make</userinput></screen>
    106 
    107     <para>
    108       Only <command>info</command> documentation is shipped in the package
    109       tarball. If you wish to build alternate formats of the documentation,
    110       (you must have <xref linkend="texlive"/> installed to build the PDF
    111       and PostScript documentation), then issue the following commands:
    112     </para>
    113 
    114 <screen><userinput>make -C doc pdf ps html &amp;&amp;
     105make                      &amp;&amp;
     106
     107make -C doc html                                                       &amp;&amp;
    115108makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &amp;&amp;
    116109makeinfo --plaintext       -o doc/gcrypt.txt           doc/gcrypt.texi</userinput></screen>
     110
     111    <para>
     112      The above commands build the documentation in html and plaintext
     113      formats. If you wish to build alternate formats of the documentation, you
     114      need <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>). Issue
     115      the following command:
     116    </para>
     117
     118<screen remap="doc"><userinput>make -C doc pdf ps</userinput></screen>
    117119
    118120    <para>
     
    127129install -v -dm755   /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
    128130install -v -m644    README doc/{README.apichanges,fips*,libgcrypt*} \
    129                     /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
    130 
    131     <para>
    132       If you built the additional documentation, install it by issuing the
    133       following commands as the <systemitem class="username">root</systemitem>
    134       user:
    135     </para>
    136 
    137 <screen role="root"><userinput>install -v -dm755   /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
     131                    /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
     132
     133install -v -dm755   /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
    138134install -v -m644 doc/gcrypt.html/* \
    139135                    /usr/share/doc/libgcrypt-&libgcrypt-version;/html &amp;&amp;
    140136install -v -m644 doc/gcrypt_nochunks.html \
    141                     /usr/share/doc/libgcrypt-&libgcrypt-version; &amp;&amp;
    142 install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
     137                    /usr/share/doc/libgcrypt-&libgcrypt-version;      &amp;&amp;
     138install -v -m644 doc/gcrypt.{txt,texi} \
     139                    /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
     140
     141    <para>
     142      If you built alternate formats of the documentation, install them by
     143      issuing the following command as the
     144      <systemitem class="username">root</systemitem> user:
     145    </para>
     146
     147<screen role="root"
     148        remap="doc"><userinput>install -v -m644 doc/gcrypt.{pdf,ps,dvi} \
    143149                    /usr/share/doc/libgcrypt-&libgcrypt-version;</userinput></screen>
    144150
Note: See TracChangeset for help on using the changeset viewer.