#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=hailort

# Running tests puts hailort.log in the binary package. Disable until this is fixed upstream.
export PYBUILD_DISABLE=test/python3

export HAILORT_INCLUDE_DIR=/usr/include/hailo
export LIBHAILORT_PATH=/usr/lib/libhailort.so

%:
	dh $@ --sourcedirectory=hailort/libhailort/bindings/python/platform --buildsystem=pybuild

# Hailo's packages are broken, so work around their limitations until they're fixed.
override_dh_shlibdeps:
	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
