aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:03:29 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:03:29 +0200
commite3d2e56934e7579e8abc639b1bce6dbc6b2b9d53 (patch)
tree17de4f04bf6d0d19ff0d5c53177f24f3cdd0a5e7 /debian/rules
parent8886a97ef4f744d1e7db83ff479841310c046c2e (diff)
downloadayatana-indicator-display-e3d2e56934e7579e8abc639b1bce6dbc6b2b9d53.tar.gz
ayatana-indicator-display-e3d2e56934e7579e8abc639b1bce6dbc6b2b9d53.tar.bz2
ayatana-indicator-display-e3d2e56934e7579e8abc639b1bce6dbc6b2b9d53.zip
debian/rules: Enable unit tests with the new way.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index d3e74c8..2751ca4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,16 @@ 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 $@ --parallel --with systemd
+override_dh_auto_configure:
+ dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
+
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..