#!/usr/bin/make -f

export PYBUILD_NAME=pystray
export PYBUILD_DISABLE=test

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

ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. \
	   http_proxy='127.0.0.1:9' \
	   https_proxy='127.0.0.1:9' \
	   python3 -m sphinx -N -b html docs/ $(CURDIR)/.pybuild/docs/html/
endif
