#! /usr/bin/make -f export PYBUILD_NAME=python-csb43 export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog -SVersion |sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/+dfsg//') %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build # TODO: evtl. regenerate from code #rm -rf doc/html doc/source/*.rst #sphinx-apidoc -o doc/source csb43/ sphinx-build doc/source build/html