aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 00:58:05 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 00:58:05 +0200
commitc9adf522405ed9d6c505c7287cb9603013ca8c70 (patch)
tree2cbc5382cd81a3eff1d5e79745a4a6fb491a569f
parent5b126ad4c086f696350f41d2dc8dbf085e735327 (diff)
downloadayatana-indicator-bluetooth-c9adf522405ed9d6c505c7287cb9603013ca8c70.tar.gz
ayatana-indicator-bluetooth-c9adf522405ed9d6c505c7287cb9603013ca8c70.tar.bz2
ayatana-indicator-bluetooth-c9adf522405ed9d6c505c7287cb9603013ca8c70.zip
debian/rules: Enable unit tests with the new way.
-rwxr-xr-xdebian/rules12
1 files changed, 7 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index decbbae..4ebd031 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,17 +2,19 @@
NULL =
+DEB_CMAKE_EXTRA_FLAGS = \
+ -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \
+ -DENABLE_TESTS=ON \
+ -DENABLE_COVERAGE=OFF \
+ $(NULL)
+
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
%:
dh $@ --parallel --with systemd
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)
+ dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
override_dh_missing:
dh_missing --fail-missing