Commit 46ab2def authored by Michael Fladischer's avatar Michael Fladischer

Build documentation in override_dh_sphinxdoc.

parent 22bffba3
celery (4.1.0-1~exp2) UNRELEASED; urgency=medium
* Run wrap-and-sort -bast to reduce diff size of future changes.
* Build documentation in override_dh_sphinxdoc.
-- Michael Fladischer <fladi@debian.org> Mon, 06 Nov 2017 08:48:20 +0100
......
......@@ -13,17 +13,12 @@ override_dh_installman:
docbook-to-man debian/manpage.celery.sgml > celery.1
dh_installman
override_dh_auto_build:
PYTHONPATH=.:$$PYTHONPATH sphinx-build -b html -d .build/.doctrees -N docs .build/html
ln docs/images/celery_128.png .build/html/_images/celery_128.png
dh_auto_build
override_dh_auto_test:
PYTHONPATH=. LC_ALL=C.UTF-8 \
dh_auto_test -- --system=custom --test-args="{interpreter} setup.py test"
override_dh_clean:
rm -rf .build
rm -rf docs/.build
dh_clean
override_dh_auto_install:
......@@ -45,3 +40,9 @@ override_dh_installinit:
override_dh_installchangelogs:
dh_installchangelogs Changelog
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs $(CURDIR)/debian/python-celery-doc/usr/share/doc/python-celery-doc/html
dh_sphinxdoc
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment