#!/usr/bin/make -f

# Hardening options, see: https://wiki.debian.org/Hardening
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --with kf5

override_dh_auto_configure:
	dh_auto_configure -- -DWEBVIEW_FORCE_WEBKIT=1 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DINSTALL_CONFIG=ON

override_dh_install:
	dh_install
	rm $(CURDIR)/debian/calamares/usr/share/applications/calamares.desktop

override_dh_missing:
	dh_missing --fail-missing

# Some test don't work well, we don't need to run them at package build time.
override_dh_auto_test:
