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

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

%:
	dh $@

# 1 of the migration scripts require accountsservice-ubuntu-schemas
# which isn't in Debian. The other migration scripts aren't relevant
# for Debian either.
override_dh_user-session-migration:
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
	dh_user-session-migration
endif

override_dh_gencontrol:
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
	dh_gencontrol -- -Vschemas:Depends='accountsservice-ubuntu-schemas'
else
	dh_gencontrol -- -Vschemas:Depends=''
endif

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