diff options
| author | Jeremy BĂcha <jbicha@ubuntu.com> | 2026-06-26 11:00:50 -0400 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2026-10-12 20:38:42 +0200 |
| commit | cc5e48aec9e30bcc23601c2367b0ee94ea5fd058 (patch) | |
| tree | 117f258d1ecec8ddab88da4d4cd639da895a4364 | |
| parent | 13b6019f282ff0f06d485d051df342ebd719c184 (diff) | |
| download | ayatana-indicator-keyboard-cc5e48aec9e30bcc23601c2367b0ee94ea5fd058.tar.gz ayatana-indicator-keyboard-cc5e48aec9e30bcc23601c2367b0ee94ea5fd058.tar.bz2 ayatana-indicator-keyboard-cc5e48aec9e30bcc23601c2367b0ee94ea5fd058.zip | |
debian: Simplify configure options
The tests and coverage options don't actually exist
Also, the second DEB_CMAKE_EXTRA_FLAGS wasn't working as intended
since it should have something like += instead of =
The .a and .la files are no longer built
| -rwxr-xr-x | debian/rules | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/debian/rules b/debian/rules index 6919358e..78ec9efd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,29 +1,14 @@ #!/usr/bin/make -f # -*- makefile -*- -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - export DEB_BUILD_MAINT_OPTIONS = hardening=+all -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 $@ override_dh_auto_configure: - dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) - -execute_before_dh_install: - find debian/ayatana-indicator-keyboard -name \*.la -delete - find debian/ayatana-indicator-keyboard -name \*.a -delete + dh_auto_configure -- \ + -DENABLE_UBUNTU_ACCOUNTSSERVICE=$(if $(shell dpkg-vendor --derives-from Ubuntu && echo y),ON,OFF) override_dh_installchangelogs: dh_installchangelogs NEWS |
