Fixed debian build install.

This commit is contained in:
Vitaliy Lyudvichenko 2016-11-14 22:14:11 +03:00
parent bfbe8f8ed1
commit 73e5f828f4
6 changed files with 7 additions and 3 deletions

View File

@ -20,7 +20,7 @@ INSTALL(TARGETS clickhouse RUNTIME DESTINATION bin COMPONENT clickhouse)
# make symbolic links to concrete clickhouse applications
macro(install_symlink_to_clickhouse app)
INSTALL(CODE "execute_process(COMMAND ln -sf clickhouse ${app} WORKING_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin\" )" COMPONENT ${app})
endmacro(make_symlink_to_clickhouse)
endmacro(install_symlink_to_clickhouse)
install_symlink_to_clickhouse(clickhouse-server)
install_symlink_to_clickhouse(clickhouse-client)

View File

@ -1,3 +1,4 @@
/usr/bin/clickhouse
/usr/bin/clickhouse-server
/etc/cron.d/clickhouse-server
/etc/security/limits.d/metrika.conf

View File

@ -39,10 +39,13 @@ function make_control {
add_daemon_impl clickhouse-server-common "clickhouse-server-base(=1.1.$REVISION)" 'Common configuration files for clickhouse-server-base package'
;;
'clickhouse-client' )
add_daemon_impl clickhouse-client
add_daemon_impl clickhouse-client "clickhouse-server-base(=1.1.$REVISION)" "ClickHouse client"
;;
'clickhouse-benchmark' )
add_daemon_impl clickhouse-benchmark
add_daemon_impl clickhouse-benchmark "clickhouse-server-base(=1.1.$REVISION)" "ClickHouse benchmark tool"
;;
'clickhouse-local' )
add_daemon_impl clickhouse-local "clickhouse-server-base(=1.1.$REVISION)" "ClickHouse local server application"
;;
* )
add_daemon_impl "${DAEMON_PKG}-metrika-yandex"