mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +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
|
# because copy_headers.sh have hardcoded path to build/include_directories.txt
|
||||||
BUILDDIR = build
|
BUILDDIR = build
|
||||||
DESTDIR = debian/tmp
|
CURDIR = $(shell pwd)
|
||||||
|
DESTDIR = $(CURDIR)/debian/tmp
|
||||||
|
|
||||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
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
|
CLANG=$(DESTDIR)/usr/bin/clickhouse-clang ./copy_headers.sh . $(DESTDIR)/usr/share/clickhouse/headers
|
||||||
|
|
||||||
# fake metrika files when private dir is empty
|
# fake metrika files when private dir is empty
|
||||||
mkdir -p debian/tmp/etc/clickhouse-server/metrika
|
mkdir -p $(DESTDIR)/etc/clickhouse-server/metrika
|
||||||
touch debian/tmp/etc/clickhouse-server/metrika/config.xml
|
touch $(DESTDIR)/etc/clickhouse-server/metrika/config.xml
|
||||||
touch debian/tmp/etc/clickhouse-server/metrika/users.xml
|
touch $(DESTDIR)/etc/clickhouse-server/metrika/users.xml
|
||||||
|
|
||||||
dh_install --list-missing --sourcedir=$(DESTDIR)
|
dh_install --list-missing --sourcedir=$(DESTDIR)
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
env DESTDIR=$(DESTDIR) ninja -C $(BUILDDIR) install
|
||||||
|
|
||||||
override_dh_shlibdeps:
|
override_dh_shlibdeps:
|
||||||
true # We depend only on libc and dh_shlibdeps gives us wrong (too strict) dependency.
|
true # We depend only on libc and dh_shlibdeps gives us wrong (too strict) dependency.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user