#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME = ttkthemes

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:
ifeq ($(filter $(DEB_BUILD_OPTIONS),nocheck),)
	ttk_themes_dir=$(shell pwd)/ttkthemes xvfb-run dh_auto_test
endif

override_dh_install:
	dh_install -XLICENSE -XGPLv2.txt -XREADME
