#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/dpkg/pkg-info.mk # Mopidy-Podcast gets its version from setuptools-scm. A build in the packaging git # checkout would make setuptools-scm read the version from the git tags of that # repository, which are the Debian tags. Give it the upstream version instead. export SETUPTOOLS_SCM_PRETEND_VERSION = $(DEB_VERSION_UPSTREAM) %: dh $@ --with sphinxdoc --buildsystem=pybuild override_dh_auto_build: export http_proxy=127.0.0.1:9 override_dh_auto_build: export https_proxy=127.0.0.1:9 override_dh_auto_build: dh_auto_build PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html override_dh_installchangelogs: dh_installchangelogs CHANGELOG.rst