aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 00:53:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 00:53:00 +0200
commitbff6bb836dd9185afeda2bf92ab281c0d50bcde1 (patch)
treec7fa56cdf441b8774f6cc29c815a4e204c68bcdd /debian/rules
parentf33deb5590e4f3c6d3f659a69c725850e91ad30f (diff)
downloadayatana-indicator-application-bff6bb836dd9185afeda2bf92ab281c0d50bcde1.tar.gz
ayatana-indicator-application-bff6bb836dd9185afeda2bf92ab281c0d50bcde1.tar.bz2
ayatana-indicator-application-bff6bb836dd9185afeda2bf92ab281c0d50bcde1.zip
debian/rules: Enable unit tests (if there were any).
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 7edb8be..a56ecf1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,9 +2,17 @@
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
+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-application/usr/lib -name *.la -delete
find debian/ayatana-indicator-application/usr/lib -name *.a -delete