#!/usr/bin/make -f %: dh $@ --buildsystem=pybuild execute_after_dh_auto_build: ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS))) ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES))) $(MAKE) -C docs man endif endif execute_after_dh_install: ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS))) ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES))) dh_install docs/api examples usr/share/doc/python3-dasbus/ endif endif