diff options
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules index 56c3a7a8..6919358e 100755 --- a/debian/rules +++ b/debian/rules @@ -4,26 +4,26 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -export DPKG_GENSYMBOLS_CHECK_LEVEL=4 - 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) ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes) DEB_CMAKE_EXTRA_FLAGS = "-DENABLE_UBUNTU_ACCOUNTSSERVICE=ON" endif %: - dh $@ --with systemd + dh $@ override_dh_auto_configure: dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) -override_dh_install: +execute_before_dh_install: find debian/ayatana-indicator-keyboard -name \*.la -delete find debian/ayatana-indicator-keyboard -name \*.a -delete - dh_install --fail-missing override_dh_installchangelogs: dh_installchangelogs NEWS |
