#!/usr/bin/make -f %: dh $@ --buildsystem=pybuild execute_after_dh_auto_build: dh_doc_privacy ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) cd docs; PYTHONPATH=$(CURDIR) LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build \ -bhtml \ -d _build/doctrees \ -D html_theme_options.github_button=false \ -D 'mathjax_path=mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML' \ . _build/html endif