#!/usr/bin/make -f

export DH_VERBOSE=1

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export DEB_LDFLAGS_MAINT_APPEND := -fPIE -pie
export QT_SELECT=5

%:
	dh $@

execute_after_dh_install:
	@echo "Superfluous license file."
	-rm --verbose debian/webcamoid-data/usr/share/webcamoid/qml/License.qml

override_dh_makeshlibs:
	dh_makeshlibs -- -v$(DEB_VERSION_UPSTREAM)
