mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-27 17:49:19 +01:00
Make the debian/rules generation work when the source dir is the same as the binary dir
This commit is contained in:
parent
e54f0a18d9
commit
3f42b27826
4
debian/CMakeLists.txt
vendored
4
debian/CMakeLists.txt
vendored
@ -11,9 +11,9 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/changelog.in
|
||||
|
||||
if(DEB_REWRITE_RULES)
|
||||
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/rules.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/rules @ONLY)
|
||||
${CMAKE_CURRENT_BINARY_DIR}/rules.tmp/rules @ONLY)
|
||||
file(REMOVE ${CMAKE_CURRENT_SOURCE_DIR}/rules)
|
||||
file(COPY ${CMAKE_CURRENT_BINARY_DIR}/rules
|
||||
file(COPY ${CMAKE_CURRENT_BINARY_DIR}/rules.tmp/rules
|
||||
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/
|
||||
FILE_PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
||||
GROUP_EXECUTE GROUP_READ)
|
||||
|
Loading…
x
Reference in New Issue
Block a user