#!/usr/bin/make -f export PYBUILD_DESTDIR_python3=debian/python3-cffi export PYBUILD_EXT_DESTDIR_python3=debian/python3-cffi-backend export PYBUILD_EXT_DESTDIR_python3-dbg=debian/python3-cffi-backend-dbg export VIRTUALENV_DOWNLOAD=no %: dh $@ --with python3,sphinxdoc --buildsystem pybuild override_dh_auto_build-indep: dh_auto_build --indep python3 -m sphinx -b html -d doc/build/doctrees doc/source doc/build/html override_dh_auto_test: PYBUILD_SYSTEM=custom \ PYBUILD_TEST_ARGS="{interpreter} -m pytest c/ testing/" \ dh_auto_test override_dh_install: debian/gen-backend-versions.py dh_install override_dh_installdocs-indep: dh_installdocs -p python-cffi-doc --doc-main-package python-cffi-doc dh_installdocs --indep -N python-cffi-doc override_dh_installchangelogs: dh_installchangelogs doc/source/whatsnew.rst override_dh_strip: dh_strip -p python3-cffi-backend -p python3-cffi-backend-dbg \ --dbg-package=python3-cffi-backend-dbg dh_strip --remaining-packages override_dh_clean: dh_clean rm -rf $(wildcard testing/*/snippets/*/build testing/*/snippets/*/dist testing/*/snippets/*/*.egg-info)