#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM}

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

execute_after_dh_auto_configure:
	rst2man man/usbmuxctl.1.rst > man/usbmuxctl.1

execute_after_dh_auto_clean:
	rm -f man/usbmuxctl.1

# no tests available
override_dh_auto_test:
