#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Added temporarily to analyze #1015506
export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

export PVER=$(shell dpkg-parsechangelog --show-field version | cut -d"-" -f1)

%:
	dh $@

execute_after_dh_auto_clean:
	rm -rf libltdl/

override_dh_makeshlibs:
	dh_makeshlibs -- -v$(PVER)
