#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=sdformat

override_dh_auto_configure:
	dh_auto_configure -- \
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
  -DSKIP_usd=true \
  -DUSE_SYSTEM_PATHS_FOR_PYTHON_INSTALLATION=ON \
  -DUSE_DIST_PACKAGES_FOR_PYTHON=ON


override_dh_auto_test-arch:
	LD_LIBRARY_PATH=$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/src LC_ALL=C dh_auto_test

execute_after_dh_auto_build-indep:
	dh_auto_build -- doc  # Generate documentation

%:
	dh $@ --with-python3
