#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCLICK_MODE=OFF

execute_after_dh_auto_install:
	rm debian/*/usr/share/lomiri-calendar-app/lomiri-calendar-app-migrate.py

execute_after_dh_fixperms:
	chmod 0755 debian/*/usr/lib/lomiri-push-service/legacy-helpers/lomiri-calendar-app

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..
