aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:13:16 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:13:31 +0200
commitb0897a0fd8b8f5a0855e675b68be19a7b76b57de (patch)
tree15edbad97da5b2a835d17708e4e6dbfdc9527d1e /debian
parentb78e5ac5a5509550396e46d6f472b77da2867aa3 (diff)
downloadayatana-indicator-power-b0897a0fd8b8f5a0855e675b68be19a7b76b57de.tar.gz
ayatana-indicator-power-b0897a0fd8b8f5a0855e675b68be19a7b76b57de.tar.bz2
ayatana-indicator-power-b0897a0fd8b8f5a0855e675b68be19a7b76b57de.zip
debian/rules: Enable unit tests with the new way.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 73b8d09..7401e9b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,18 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
+DEB_CMAKE_EXTRA_FLAGS = \
+ -DENABLE_TESTS=ON \
+ -DENABLE_COVERAGE=OFF \
+ $(NULL)
+
+
%:
dh $@ --with systemd
+override_dh_auto_configure:
+ dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
+
override_dh_install:
find debian/ayatana-indicator-power -name \*.la -delete
find debian/ayatana-indicator-power -name \*.a -delete