#! /usr/bin/make -f export PYBUILD_NAME=mpire %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild # Sphinx and more execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9 execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9 execute_after_dh_auto_build-indep: # Small fix for sphinx function name change #perl -pi -e 's/add_stylesheet/add_css_file/' docs/conf.py # This is calling sphinx and more PYTHONPATH=.:.. make -C docs html man BUILDDIR=../build rm -rf build/doctrees # Disabled as it's handled later with Testsuite override_dh_auto_test: : override_dh_installman: dh_installman rm -rf build/man override_dh_auto_install: dh_auto_install # Force python3 interpreter in mpire-dashboard perl -pi -e 's:^#!python:#!/usr/bin/python3:' debian/python3-mpire/usr/bin/mpire-dashboard