#!/usr/bin/make -f
# Copyright © 2019 Collabora Ltd.
# SPDX-License-Identifier: MPL-2.0
# (see debian/copyright)

export LC_ALL=C.UTF-8

ifneq ($(shell python3 -c 'if __import__("sys").version_info >= (3, 4): print("new")'),new)
export PYTHON=python3.5
export PYTHONPATH=$(CURDIR)/third-party/python-debian/lib:$(CURDIR)
endif

include /usr/share/dpkg/default.mk

%:
	dh $@ $(dh_options)

override_dh_auto_build:
	:

override_dh_auto_install:
	DEB_SOURCE=$(DEB_SOURCE) debian/install.sh
