Removed useless statements from debian directory

This commit is contained in:
Alexey Milovidov 2019-08-24 15:03:54 +03:00
parent cdd6dca517
commit 60fde1d29e
4 changed files with 1 additions and 19 deletions

View File

@ -1,4 +1,3 @@
usr/bin/clickhouse
usr/bin/clickhouse-odbc-bridge
etc/security/limits.d/clickhouse.conf
usr/share/clickhouse/*

View File

@ -1,3 +1,4 @@
LICENSE
AUTHORS
README.md
CHANGELOG.md

View File

@ -1,6 +1,4 @@
usr/bin/clickhouse-server
usr/bin/clickhouse-clang
usr/bin/clickhouse-lld
usr/bin/clickhouse-copier
usr/bin/clickhouse-report
etc/clickhouse-server/config.xml

16
debian/rules vendored
View File

@ -32,11 +32,6 @@ endif
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
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_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:
# Fix for ninja. Do not add -O.
$(MAKE) $(THREADS_COUNT) -C $(BUILDDIR) $(MAKE_TARGET)
# #cd $(BUILDDIR) && cmake --build . -- -j$(THREADS_COUNT) # cmake return true on error
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
override_dh_clean:
@ -117,11 +108,6 @@ override_dh_install:
mkdir -p $(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)
override_dh_auto_install:
@ -130,7 +116,5 @@ override_dh_auto_install:
override_dh_shlibdeps:
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:
dh_builddeb -- -Z gzip # Older systems don't have "xz", so use "gzip" instead.
#TODO: endif