#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND += -Wl,--as-needed
export QT_SELECT=5

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DWITH_WEBKIT=1

override_dh_installdocs:
	dh_installdocs
	sphinx-build docs/ debian/copyq-doc/usr/share/doc/copyq/html
