RE:providing sphinx3-* binaries

2017-09-29 Thread PICCA Frederic-Emmanuel
Or just use the sphinx-generated Makefile if there is one:

Except that  when there is an autodoc in the documentation, I like to build the 
doc with all {interpreters}.
It is a sort of unit test

Cheers

Fred


RE:providing sphinx3-* binaries

2017-09-29 Thread PICCA Frederic-Emmanuel
Hello guyes.

> override_dh_sphinxdoc:
> ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))

nodocs or nodoc

I alsa do something like this when there is extensions.

override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYBUILD_SYSTEM=custom \
PYBUILD_BUILD_ARGS="cd docs && PYTHONPATH={build_dir} 
http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html" 
dh_auto_build  # HTML generator
dh_installdocs "docs/build/html" -p python-gpyfft-doc
dh_sphinxdoc -O--buildsystem=pybuild
endif

cheers

Frederic