diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 01:16:28 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 01:16:40 +0200 |
commit | 1eefebc5a4b2cea7e4c5b0e5e4168f4f3bbb7991 (patch) | |
tree | 35dd978d0bec861a7a055e5918247f18a095008a /debian/rules | |
parent | 5184aea48294378502ee63b754c1a85a244f44f4 (diff) | |
download | ayatana-indicator-session-1eefebc5a4b2cea7e4c5b0e5e4168f4f3bbb7991.tar.gz ayatana-indicator-session-1eefebc5a4b2cea7e4c5b0e5e4168f4f3bbb7991.tar.bz2 ayatana-indicator-session-1eefebc5a4b2cea7e4c5b0e5e4168f4f3bbb7991.zip |
debian/rules: Enable unit tests with the new way.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 7c62e62..830b273 100755 --- a/debian/rules +++ b/debian/rules @@ -6,11 +6,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 $@ --with systemd override_dh_auto_configure: - dh_auto_configure -- -DENABLE_TESTS=ON + dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) override_dh_install: find debian/ayatana-indicator-session/usr/lib -name *.la -delete |