mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
parent
f2db72a5e5
commit
0d70314ead
12
debian/rules
vendored
12
debian/rules
vendored
@ -9,7 +9,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
|
||||
|
||||
# because copy_headers.sh have hardcoded path to build/include_directories.txt
|
||||
BUILDDIR = build
|
||||
DESTDIR = debian/tmp
|
||||
CURDIR = $(shell pwd)
|
||||
DESTDIR = $(CURDIR)/debian/tmp
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
@ -94,12 +95,15 @@ override_dh_install:
|
||||
CLANG=$(DESTDIR)/usr/bin/clickhouse-clang ./copy_headers.sh . $(DESTDIR)/usr/share/clickhouse/headers
|
||||
|
||||
# fake metrika files when private dir is empty
|
||||
mkdir -p debian/tmp/etc/clickhouse-server/metrika
|
||||
touch debian/tmp/etc/clickhouse-server/metrika/config.xml
|
||||
touch debian/tmp/etc/clickhouse-server/metrika/users.xml
|
||||
mkdir -p $(DESTDIR)/etc/clickhouse-server/metrika
|
||||
touch $(DESTDIR)/etc/clickhouse-server/metrika/config.xml
|
||||
touch $(DESTDIR)/etc/clickhouse-server/metrika/users.xml
|
||||
|
||||
dh_install --list-missing --sourcedir=$(DESTDIR)
|
||||
|
||||
override_dh_auto_install:
|
||||
env DESTDIR=$(DESTDIR) ninja -C $(BUILDDIR) install
|
||||
|
||||
override_dh_shlibdeps:
|
||||
true # We depend only on libc and dh_shlibdeps gives us wrong (too strict) dependency.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user