#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = optimize=-lto export DPKG_GENSYMBOLS_CHECK_LEVEL = 2 BUILDDIR = $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE) # Configuration arguments CONFIG_ARGS = \ -Dudev_hwdb=enabled \ -Dudev_rules=enabled \ -Ddrivers=all \ -Dgtk-examples=false %: dh $@ --with gir override_dh_auto_configure: dh_auto_configure -- $(CONFIG_ARGS) override_dh_auto_test: dh_auto_test -- -C $(BUILDDIR) --timeout-multiplier 5 override_dh_auto_clean: rm -rf tests/__pycache__ dh_auto_clean