#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	# OGG, OPUS and Speex disabled due to #855251
	dh_auto_configure -- --disable-Werror \
		--disable-ogg --disable-opus --disable-speex

override_dh_installdocs:
	dh_installdocs --link-doc=easytag

override_dh_makeshlibs:
	dh_makeshlibs --exclude=/usr/lib/nautilus/extensions-3.0
