#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	CONFIGURE_OPTS += "CONFIG+=no_tests"
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),"CONFIG+=no_tests",)

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..
