Changeset e5c8c6d5 for x/lib


Ignore:
Timestamp:
09/11/2023 01:36:23 PM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
bdf53ed7
Parents:
cca8751
Message:

libnotify: Guard documentation directory renaming with a if

If xmlto is not installed and -Dgtk_doc=false, there will be no
documentation installed.

Also add a rm -rf command so we won't do things wrong reinstalling the
package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/libnotify.xml

    rcca8751 re5c8c6d5  
    141141
    142142<screen role="root"><userinput>ninja install &amp;&amp;
    143 mv -v /usr/share/doc/libnotify{,-&libnotify-version;}</userinput></screen>
     143if [ -e /usr/share/doc/libnotify ]; then
     144  rm -rf /usr/share/doc/libnotify-&libnotify-version;
     145  mv -v  /usr/share/doc/libnotify{,-&libnotify-version;}
     146fi</userinput></screen>
    144147
    145148  </sect2>
Note: See TracChangeset for help on using the changeset viewer.