#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

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

override_dh_auto_configure:
#	test -d m4 || mkdir m4
#	AUTOMAKE_VERSION=1.11 ACLOCAL_VERSION=1.11 NOCONFIGURE=1 xdt-autogen
	dh_auto_configure -- --disable-silent-rules

override_dh_builddeb:
	dh_builddeb -- -Z xz

%:
	dh $@ --parallel 
