#!/usr/bin/make -f

export DEB_PKG_VERSION = "\"$(shell dpkg-parsechangelog -S Version)\""
export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

default:
	@uscan --no-conf --dehs --report || true

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-clz --enable-tls --disable-ansicontrols

override_dh_installchangelogs:
	dh_installchangelogs --keep changes24-26.txt

override_dh_compress-indep:
	dh_compress -X.pdf -Xexamples

get-orig-source:
	uscan --no-conf --download-current-version --compression xz --verbose
