#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DNO_QTMULTIMEDIA=ON

# Remove upstream's copyright installation, we take care of that.
override_dh_auto_install:
	dh_auto_install
	rm -f debian/brewtarget/usr/share/doc/brewtarget/COPYRIGHT

# Disable testing.
# Currently, all tests are failing.
override_dh_auto_test:
