| 1 |
#! /usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=frozenlist |
| 4 |
|
| 5 |
# Work around https://github.com/pytest-dev/pytest-cov/issues/755. |
| 6 |
export COVERAGE_CORE=ctrace |
| 7 |
|
| 8 |
%: |
| 9 |
#dh $@ --with sphinxdoc --buildsystem=pybuild |
| 10 |
dh $@ --buildsystem=pybuild |
| 11 |
|
| 12 |
#override_dh_auto_build-indep: |
| 13 |
# dh_auto_build -i |
| 14 |
#ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 15 |
# cd docs && \ |
| 16 |
# PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \ |
| 17 |
# sphinx-build -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/ |
| 18 |
# rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees |
| 19 |
#endif |