#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_install:
	dh_install
	# Remove libtool archives (.la files).
	find $(CURDIR)/debian -name 'lib*.la' -exec rm '{}' \;

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	echo "Do not run tests"
endif
