#!/usr/bin/make -f

LDFLAGS += -Wl,-z,defs -Wl,--as-needed

%:
	dh $@ --with autoreconf,translations

override_dh_autoreconf:
	NOCONFIGURE=1 dh_autoreconf ./autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-static

override_dh_install:
	find debian/tmp -name \*.la -delete
	find debian/tmp -name \*.a -delete
	dh_install --fail-missing

override_dh_auto_test:
	# Tests temporarily disabled: bustle-dbus-monitor can't be found, needs deps in universe.
