aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:09:40 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:09:40 +0200
commit2b27994b04f5c6265c8f6f59f8b4b15efbfa131a (patch)
tree5d62bf5c0f48b622218527745b7824b6c4d325c0
parented263deec1cc55831fca0a26e7ac85d3835ed275 (diff)
downloadayatana-indicator-notifications-2b27994b04f5c6265c8f6f59f8b4b15efbfa131a.tar.gz
ayatana-indicator-notifications-2b27994b04f5c6265c8f6f59f8b4b15efbfa131a.tar.bz2
ayatana-indicator-notifications-2b27994b04f5c6265c8f6f59f8b4b15efbfa131a.zip
debian/rules: Enable unit tests (if there were any).
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 90fda29..f2e11b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,17 @@ 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-notifications -name \*.la -delete
find debian/ayatana-indicator-notifications -name \*.a -delete