1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 12:28:31 +01:00

Set the permissions right on the debian rules file

This commit is contained in:
David Sansome 2010-07-24 23:55:51 +00:00
parent 94a9d520b5
commit 2d4a26ade9

View File

@ -1,3 +1,5 @@
cmake_minimum_required(VERSION 2.8)
execute_process(COMMAND date "+%a, %-d %b %Y %H:%M:%S %z"
OUTPUT_VARIABLE DEB_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
@ -5,5 +7,10 @@ set(DEB_DIST "unstable" CACHE STRING "Distribution to set in the .deb changelog"
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/changelog.in
${CMAKE_CURRENT_SOURCE_DIR}/changelog)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/rules.in
${CMAKE_CURRENT_SOURCE_DIR}/rules @ONLY)
${CMAKE_CURRENT_BINARY_DIR}/rules @ONLY)
file(COPY ${CMAKE_CURRENT_BINARY_DIR}/rules
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/
FILE_PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ)