mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fixed debian build install.
This commit is contained in:
parent
bfbe8f8ed1
commit
73e5f828f4
@ -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)
|
||||
|
1
debian/clickhouse-server-base.install
vendored
1
debian/clickhouse-server-base.install
vendored
@ -1,3 +1,4 @@
|
||||
/usr/bin/clickhouse
|
||||
/usr/bin/clickhouse-server
|
||||
/etc/cron.d/clickhouse-server
|
||||
/etc/security/limits.d/metrika.conf
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user