#!/usr/bin/make -f export PYBUILD_NAME=mycli export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | rev | cut -d- -f2- | rev) %: dh ${@} --buildsystem=pybuild execute_after_dh_auto_clean: # help pybuild rm -rf *.egg-info execute_after_dh_auto_install: # removing useless files rm -f debian/mycli/usr/lib/python3/dist-packages/mycli/AUTHORS rm -f debian/mycli/usr/lib/python3/dist-packages/mycli/SPONSORS # removing llm as src:llm is not in main rm -f debian/mycli/usr/lib/python*/dist-packages/mycli/packages/special/llm.py override_dh_auto_test: # disabled, doesn't work yet execute_after_dh_installdocs: # removing llm as src:llm is not in main rm -f debian/mycli/usr/share/doc/mycli/llm*