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 ckame/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.
Details
Details
- Reviewers
asturmlechner lbeltrame fvogt - Group Reviewers
KDE Games - Commits
- R387:106bfba03782: Fix DESTDIR usage
cmake && make && make DESTDIR=foo install, symlinks are correctly created inside foo.
Diff Detail
Diff Detail
- Repository
- R387 Kajongg
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.