d/rules: override_dh_sphinxdoc

This commit is contained in:
aviau 2018-09-06 15:04:36 -04:00
parent f647e0cb20
commit 58c8bfe753
No known key found for this signature in database
GPG key ID: 8F2B113C6535C5A7
3 changed files with 6 additions and 10 deletions

1
debian/changelog vendored
View file

@ -4,6 +4,7 @@ python-click (6.7+git20180829-1) UNRELEASED; urgency=medium
* Remove unneeded patches.
* Depend on python3-pallets-sphinx-themes.
* d/rules: no longer clean artwork/.
* d/rules: override_dh_sphinxdoc.
-- Alexandre Viau <aviau@debian.org> Thu, 06 Sep 2018 14:55:26 -0400

View file

@ -1 +0,0 @@
docs/_build/html

14
debian/rules vendored
View file

@ -12,12 +12,8 @@ export SOURCE = $(CURDIR)/debian/
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
$(MAKE) -C docs clean
override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
dh_auto_build
$(MAKE) -C docs clean html
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
http_proxy='http://127.0.0.1:9/' PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-click-doc/usr/share/doc/python-click-doc/html/
dh_sphinxdoc
endif