#!/usr/bin/make -f

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

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	xdt-autogen
	dh_auto_configure -- --enable-gtk-doc

override_dh_missing:
	dh_missing --fail-missing -X .la
