#!/usr/bin/make -f

export PYBUILD_SYSTEM=distutils
export PYBUILD_DIR=lcm-python

%:
	dh $@ --with=python2,python3

override_dh_auto_clean:
	dh_auto_clean --buildsystem=pybuild
	dh_auto_clean --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure --buildsystem=pybuild
	dh_auto_configure --buildsystem=cmake

override_dh_auto_test:
	dh_auto_test --buildsystem=pybuild
	dh_auto_test --buildsystem=cmake

override_dh_auto_build:
	dh_auto_build --buildsystem=pybuild
	dh_auto_build --buildsystem=cmake

override_dh_auto_install:
	dh_auto_install --buildsystem=pybuild
	dh_auto_install --buildsystem=cmake
