#!/usr/bin/make -f export LC_ALL=C.UTF-8 export PYBUILD_BEFORE_TEST = cp -r {dir}/bmtk/tests {build_dir}/bmtk/ include /usr/share/dpkg/default.mk %: dh $@ --with sphinxdoc --buildsystem=pybuild execute_after_dh_auto_build: export http_proxy=127.0.0.1:9 execute_after_dh_auto_build: export https_proxy=127.0.0.1:9 execute_after_dh_auto_build: sphinx-apidoc -f -o docs/autodocs/source/bmtk/ bmtk PYTHONPATH=. python3 -m sphinx -N -bhtml docs/autodocs/source/ build/html # HTML generator execute_before_dh_install: find docs -type f -size 0 -print -exec rm {\} \; find build -type f -size 0 -print -exec rm {\} \; find . -name "*.json" -exec chmod -x {\} \; find . -name "*.nml" -exec chmod -x {\} \; find . -name "*.swc" -exec chmod -x {\} \; find . -name "*.csv" -exec chmod -x {\} \; find . -name "*.h5" -exec chmod -x {\} \; find . -name "*.mod" -exec chmod -x {\} \; find . -name tutorial_filter_models.html | xargs sed -i '/