add dependency for init, logrotate

This commit is contained in:
Pavel Kartavyy 2015-04-15 13:39:45 +03:00
parent d18abaec6b
commit 100443d5b2
2 changed files with 5 additions and 0 deletions

View File

@ -42,4 +42,7 @@ INSTALL(
PERMISSIONS OWNER_EXECUTE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ PERMISSIONS OWNER_EXECUTE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
COMPONENT ${daemonname} COMPONENT ${daemonname}
) )
add_dependencies(${daemonname} ${daemonname}-init.target)
endmacro (CREATE_INIT_SCRIPT) endmacro (CREATE_INIT_SCRIPT)

View File

@ -21,4 +21,6 @@ INSTALL(
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
COMPONENT ${daemonname} COMPONENT ${daemonname}
) )
add_dependencies(${daemonname} ${daemonname}-logrotate.target)
endmacro (CREATE_LOGROTATE) endmacro (CREATE_LOGROTATE)