This commit is contained in:
Alexey Milovidov 2015-04-16 13:50:29 +03:00
commit 8c33a201dd
2 changed files with 7 additions and 0 deletions

View File

@ -40,5 +40,9 @@ INSTALL(
DESTINATION /etc/init.d
RENAME ${filename}
PERMISSIONS OWNER_EXECUTE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
COMPONENT ${daemonname}
)
add_dependencies(${daemonname} ${daemonname}-init.target)
endmacro (CREATE_INIT_SCRIPT)

View File

@ -19,5 +19,8 @@ INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${daemonname}.logrt
DESTINATION /etc/logrotate.d
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
COMPONENT ${daemonname}
)
add_dependencies(${daemonname} ${daemonname}-logrotate.target)
endmacro (CREATE_LOGROTATE)