#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DENABLE_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) \
		-DENABLE_COVERAGE=OFF \

execute_after_dh_install:
	find debian/ayatana-indicator-application/usr/lib -name *.la -delete
	find debian/ayatana-indicator-application/usr/lib -name *.a -delete

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..
