1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
include /usr/share/dpkg/pkg-info.mk
export PYTHONWARNINGS=d
export PYBUILD_NAME=sphinxcontrib.spelling
export export PYBUILD_TEST_ARGS = -v -k 'not test_contributors' \
--ignore tests/test_builder.py
export PYENCHANT_VERBOSE_FIND=1
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -b html docs/source \
debian/python-sphinxcontrib.spelling-doc/usr/share/doc/python-sphinxcontrib.spelling-doc/html/
dh_sphinxdoc
endif
|