Changeset ca2b7962 for gnome/platform


Ignore:
Timestamp:
02/14/2023 01:07:32 PM (16 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
1bc00bd8
Parents:
760d71b
Message:

vte: Make docdir fix and doc generation explicit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gnome/platform/vte.xml

    r760d71b rca2b7962  
    123123
    124124    <para>
     125      If you have <xref linkend='gi-docgen'/> installed and wish to build
     126      the API documentation for this package, issue:
     127    </para>
     128
     129    <!-- To editors: you may wonder why this change makes a
     130         /usr/share/doc/vte-&vte-version; with only one subdirectory
     131         "vte-2.91" inside.  The reason is when -Dgtk4 is enabled,
     132         another directory "vte-2.91-gtk4" will also be there.  -->
     133<screen role='nodump'><userinput>sed -e "/docdir =/s@\$@/ 'vte-&vte-version;'@" \
     134    -e "/fatal-warnings/d"              \
     135    -i ../doc/reference/meson.build     &amp;&amp;
     136meson configure -Ddocs=true             &amp;&amp;
     137ninja</userinput></screen>
     138
     139    <para>
    125140      To test the results, issue <command>ninja test</command>.
    126141    </para>
     
    159174      <option>-Dvapi=false</option>: Add this switch if you do not
    160175      want to enable vala bindings.
    161     </para>
    162 
    163     <para>
    164       <option>-Ddocs=true</option>: Add this switch if wish to
    165       build the documentation.  It requires <xref linkend='gi-docgen'/>.
    166       It's needed to use the
    167       <command>sed '/fatal-warning/d' -i doc/reference/meson.build</command>
    168       command before <command>mkdir build</command> to work around an issue
    169       in the build system if this option will be used.  And, if this option
    170       is used, after the installation use the
    171       <command>mv /usr/share/doc/vte-{2.&vte-nano;,&vte-version;}</command>
    172       as the &root; user to move the API documentation into the expected
    173       location.
    174176    </para>
    175177
Note: See TracChangeset for help on using the changeset viewer.