From 421e9dcda36265642403c42b687e80769506b5b1 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 19 Oct 2021 19:38:29 +0200 Subject: Update debian/ files --- debian/rules | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index e97abfe..db23614 100755 --- a/debian/rules +++ b/debian/rules @@ -6,27 +6,27 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -%: - dh $@ --with autoreconf,gir,systemd +DEB_CMAKE_EXTRA_FLAGS = \ + -DENABLE_TESTS=ON \ + -DENABLE_COVERAGE=OFF \ + $(NULL) -override_dh_autoreconf: - if [ ! -e po/ayatana-indicator-messages.pot.bak ]; then \ - cp po/ayatana-indicator-messages.pot po/ayatana-indicator-messages.pot.bak; \ - fi - NOCONFIGURE=1 dh_autoreconf ./autogen.sh +%: + dh $@ --with gir,systemd override_dh_auto_configure: - dh_auto_configure -- --enable-gtk-doc + dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) override_dh_install: find debian/tmp/usr/lib -name *.la -delete - dh_install --fail-missing + dh_install + +override_dh_missing: + dh_missing --fail-missing -override_dh_auto_clean: - dh_auto_clean - if [ -e po/ayatana-indicator-messages.pot.bak ]; then \ - mv -f po/ayatana-indicator-messages.pot.bak po/ayatana-indicator-messages.pot; \ - fi +# Hack as it seems it's not possible to easy run that under dbus-test-runner +override_dh_auto_test: + env -u LD_PRELOAD dh_auto_test get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=.. -- cgit v1.2.3