<table><tr><td style="">twighk edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-sqgdc5mkzgtoazf/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25017">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">kdepaths is generated from src/kdepaths.in (in CMakeLists.txt), and when installed on windows is given an absolute path, rather than a relative one. <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> This makes it try to make directories into /C:/...</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
When doing the byte compile and install (the top change), the _basepath of kdepaths.py already includes the ${CMAKE_CURRENT_BINARY_DIR}, and this results in it trying to make a ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CURRENT_BINARY_DIR}/... directory (i.e. C:/somestuff/C:/somestuff)<br />
<br />
When doing the file copy (the bottom change), $ENV{DESTDIR} is blank and results in it trying to copy files into **/**C:/... ,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">and copy files where the path is duplicated (C:/somestuff/C:/somestuff)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">which upsets windows</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R387 Kajongg</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25017">https://phabricator.kde.org/D25017</a></div></div><br /><div><strong>To: </strong>twighk, KDE Games<br /><strong>Cc: </strong>kde-games-devel<br /></div>