#! /usr/bin/make -f
#
# 	Nicotine+
#	Copyright (C) 2021 Nicotine+ Team
#	Copyright (C) 2016 Kip Warner. Released under the GPLv3 or later.
#

# Output every command that modifies files on the build system...
DH_VERBOSE = 1
export DH_OPTIONS=-v

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

# Use Xvfb to test startup without requiring an actual X server...
override_dh_auto_test:
	xvfb-run dh_auto_test

# Enforce xz compression format for increased compatibility with older systems...
override_dh_builddeb:
	dh_builddeb -- -Zxz
