Skip to content
  • Antonio Rojas's avatar
    Fix DESTDIR usage · 106bfba0
    Antonio Rojas authored
    kajongg's build system uses DESTDIR during cmake to construct the command that creates the kajongg and kajonggserver symlinks in bindir.
    This is a problem for distributions, which usually have separated cmake/make/make install stages with DESTDIR only available in the later one.
    So distros are currently working around this in different ways, either creating the symlinks manually after make install (Gentoo, Fedora) or defining DESTDIR before running cmake (Arch, Opensuse).
    
    This patch changes the symlink installation process to only make the DESTDIR substitution during make install.
    
    Differential Revision: https://phabricator.kde.org/D27330
    106bfba0