#!/usr/bin/make -f

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

include /usr/share/dpkg/architecture.mk

%:
	dh $@ --parallel --with=autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --disable-werror --libdir=/usr/lib \
		--disable-silent-rules --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

# fails with 2.9.2. The next upstream has it adapted for 2.9.2 so that that one
# test only is ran with 2.9.2.
ifeq "$(shell dpkg --compare-versions `xml2-config --version` gt 2.9.1 && echo true)" "true"
override_dh_auto_test:

endif
