#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export SKIP_TEST_PRESERVE_SELINUX = 1

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf autoreconf -- -i

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-gnulib-tests \
		--with-pdfdocs

execute_after_dh_auto_install:
	find debian/ -type f -name '*.la' -delete

