diff options
author | Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr> | 2018-08-02 11:35:10 +0200 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr> | 2018-08-02 11:35:10 +0200 |
commit | c279fbca22fe0cf2c6ba78c428b77f1cbef808ee (patch) | |
tree | e28819266a6a52273af2cb989e85e14dc83f4bc6 /debian | |
parent | eb3804610f695d661434cd96f3a616dd5b6d938d (diff) |
run sphinx under xvfb
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 091b9fb..0559b57 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ silx (0.8.0+dfsg-1) unstable; urgency=medium + Added pandoc * d/rules - override dh_python3 to deal with qtdesigner files. + - run sphinx with xvfb in order to have the right silx.sx documentation. -- Picca Frédéric-Emmanuel <picca@debian.org> Tue, 31 Jul 2018 16:24:57 +0200 diff --git a/debian/rules b/debian/rules index 7ff5b71..ea542b1 100755 --- a/debian/rules +++ b/debian/rules @@ -72,7 +72,7 @@ override_dh_installman: override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) mkdir -p $(POCL_CACHE_DIR) # create POCL cachedir in order to avoid an FTBFS in sbuild - pybuild --build -s custom -p $(PY3VER) --build-args="cd doc && env PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html" + pybuild --build -s custom -p $(PY3VER) --build-args="cd doc && env PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} -m sphinx -N -bhtml source build/html" dh_installdocs "doc/build/html" -p python-silx-doc dh_sphinxdoc -O--buildsystem=pybuild endif |