#!/usr/bin/make -f DOPACKAGES := $(shell dh_listpackages) export HDF5PLUGIN_STRIP=all %: dh $@ --buildsystem=pybuild override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),) dh_auto_test -- -s custom --test-args="env PYTHONPATH={build_dir} {interpreter} -m hdf5plugin.test" dh_auto_test -- -s custom --test-args="env PYTHONPATH={build_dir} {interpreter} test/test.py" endif # Build documentation ifneq (,$(filter python3-hdf5plugin-doc,$(DOPACKAGES))) execute_after_dh_auto_build: PYTHONPATH=`pwd`/build/lib make -C doc html endif