From e672e51267ff87405700cbb80807aa6a678a06a5 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 25 Oct 2020 23:31:54 +0100 Subject: Port from autotools to CMake. --- debian/rules | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 542fd05..decbbae 100755 --- a/debian/rules +++ b/debian/rules @@ -5,15 +5,14 @@ NULL = export DPKG_GENSYMBOLS_CHECK_LEVEL=4 %: - dh $@ --parallel --with systemd --with autoreconf + dh $@ --parallel --with systemd -override_dh_autoreconf: - NOCONFIGURE=1 dh_autoreconf ./autogen.sh - -override_dh_install: - dh_install - find debian/ayatana-indicator-bluetooth/usr/lib -name *.la -delete - find debian/ayatana-indicator-bluetooth/usr/lib -name *.a -delete +override_dh_auto_configure: + # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong. + # So until Debian bug 719148 is fixed, do it ourselves. + dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \ + -Denable_tests=off \ + $(NULL) override_dh_missing: dh_missing --fail-missing -- cgit v1.2.3