aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:07:09 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 01:07:09 +0200
commit0fbf19aa2635554ae7d1dc16f6b0310a2126aae3 (patch)
tree68168b1894938657405325a6f9a7d5fa9bc8104e
parent453403c165ba74c43a3df5d043f1696ded86e956 (diff)
downloadayatana-indicator-keyboard-0fbf19aa2635554ae7d1dc16f6b0310a2126aae3.tar.gz
ayatana-indicator-keyboard-0fbf19aa2635554ae7d1dc16f6b0310a2126aae3.tar.bz2
ayatana-indicator-keyboard-0fbf19aa2635554ae7d1dc16f6b0310a2126aae3.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 e7fca45d..12b476ef 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-keyboard -name \*.la -delete
find debian/ayatana-indicator-keyboard -name \*.a -delete