mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Removed useless statements from debian directory
This commit is contained in:
parent
cdd6dca517
commit
60fde1d29e
1
debian/clickhouse-common-static.install
vendored
1
debian/clickhouse-common-static.install
vendored
@ -1,4 +1,3 @@
|
|||||||
usr/bin/clickhouse
|
usr/bin/clickhouse
|
||||||
usr/bin/clickhouse-odbc-bridge
|
usr/bin/clickhouse-odbc-bridge
|
||||||
etc/security/limits.d/clickhouse.conf
|
etc/security/limits.d/clickhouse.conf
|
||||||
usr/share/clickhouse/*
|
|
||||||
|
1
debian/clickhouse-server.docs
vendored
1
debian/clickhouse-server.docs
vendored
@ -1,3 +1,4 @@
|
|||||||
LICENSE
|
LICENSE
|
||||||
AUTHORS
|
AUTHORS
|
||||||
README.md
|
README.md
|
||||||
|
CHANGELOG.md
|
||||||
|
2
debian/clickhouse-server.install
vendored
2
debian/clickhouse-server.install
vendored
@ -1,6 +1,4 @@
|
|||||||
usr/bin/clickhouse-server
|
usr/bin/clickhouse-server
|
||||||
usr/bin/clickhouse-clang
|
|
||||||
usr/bin/clickhouse-lld
|
|
||||||
usr/bin/clickhouse-copier
|
usr/bin/clickhouse-copier
|
||||||
usr/bin/clickhouse-report
|
usr/bin/clickhouse-report
|
||||||
etc/clickhouse-server/config.xml
|
etc/clickhouse-server/config.xml
|
||||||
|
16
debian/rules
vendored
16
debian/rules
vendored
@ -32,11 +32,6 @@ endif
|
|||||||
|
|
||||||
CMAKE_FLAGS += -DENABLE_UTILS=0
|
CMAKE_FLAGS += -DENABLE_UTILS=0
|
||||||
|
|
||||||
#DEB_CLANG ?= $(shell which clang-6.0 || which clang-5.0 || which clang-4.0 || which clang || which clang-3.9 || which clang-3.8)
|
|
||||||
|
|
||||||
#DEB_CC ?= gcc-7
|
|
||||||
#DEB_CXX ?= g++-7
|
|
||||||
|
|
||||||
ifdef DEB_CXX
|
ifdef DEB_CXX
|
||||||
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||||
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||||
@ -88,12 +83,8 @@ override_dh_auto_configure:
|
|||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
# Fix for ninja. Do not add -O.
|
# Fix for ninja. Do not add -O.
|
||||||
$(MAKE) $(THREADS_COUNT) -C $(BUILDDIR) $(MAKE_TARGET)
|
$(MAKE) $(THREADS_COUNT) -C $(BUILDDIR) $(MAKE_TARGET)
|
||||||
# #cd $(BUILDDIR) && cmake --build . -- -j$(THREADS_COUNT) # cmake return true on error
|
|
||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
# #TODO, use ENABLE_TESTS=1
|
|
||||||
# #./debian/tests_wrapper.sh
|
|
||||||
# cd $(BUILDDIR) && ctest $(THREADS_COUNT) -V -R GLIBC_required_version
|
|
||||||
cd $(BUILDDIR) && ctest $(THREADS_COUNT) -V -E with_server
|
cd $(BUILDDIR) && ctest $(THREADS_COUNT) -V -E with_server
|
||||||
|
|
||||||
override_dh_clean:
|
override_dh_clean:
|
||||||
@ -117,11 +108,6 @@ override_dh_install:
|
|||||||
mkdir -p $(DESTDIR)/etc/systemd/system/
|
mkdir -p $(DESTDIR)/etc/systemd/system/
|
||||||
cp debian/clickhouse-server.service $(DESTDIR)/etc/systemd/system/
|
cp debian/clickhouse-server.service $(DESTDIR)/etc/systemd/system/
|
||||||
|
|
||||||
# fake metrika files when private dir is empty
|
|
||||||
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)
|
dh_install --list-missing --sourcedir=$(DESTDIR)
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
@ -130,7 +116,5 @@ override_dh_auto_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.
|
||||||
|
|
||||||
#TODO: faster packing of non-release builds: ifdef RELEASE_COMPATIBLE
|
|
||||||
override_dh_builddeb:
|
override_dh_builddeb:
|
||||||
dh_builddeb -- -Z gzip # Older systems don't have "xz", so use "gzip" instead.
|
dh_builddeb -- -Z gzip # Older systems don't have "xz", so use "gzip" instead.
|
||||||
#TODO: endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user