d/rules: override_dh_sphinxdoc
This commit is contained in:
parent
f647e0cb20
commit
58c8bfe753
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -4,6 +4,7 @@ python-click (6.7+git20180829-1) UNRELEASED; urgency=medium
|
||||||
* Remove unneeded patches.
|
* Remove unneeded patches.
|
||||||
* Depend on python3-pallets-sphinx-themes.
|
* Depend on python3-pallets-sphinx-themes.
|
||||||
* d/rules: no longer clean artwork/.
|
* d/rules: no longer clean artwork/.
|
||||||
|
* d/rules: override_dh_sphinxdoc.
|
||||||
|
|
||||||
-- Alexandre Viau <aviau@debian.org> Thu, 06 Sep 2018 14:55:26 -0400
|
-- Alexandre Viau <aviau@debian.org> Thu, 06 Sep 2018 14:55:26 -0400
|
||||||
|
|
||||||
|
|
1
debian/python-click-doc.docs
vendored
1
debian/python-click-doc.docs
vendored
|
@ -1 +0,0 @@
|
||||||
docs/_build/html
|
|
14
debian/rules
vendored
14
debian/rules
vendored
|
@ -12,12 +12,8 @@ export SOURCE = $(CURDIR)/debian/
|
||||||
%:
|
%:
|
||||||
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
|
||||||
|
|
||||||
override_dh_auto_clean:
|
override_dh_sphinxdoc:
|
||||||
dh_auto_clean
|
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
|
||||||
$(MAKE) -C docs clean
|
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
|
||||||
override_dh_auto_build: export http_proxy=127.0.0.1:9
|
endif
|
||||||
override_dh_auto_build: export https_proxy=127.0.0.1:9
|
|
||||||
override_dh_auto_build:
|
|
||||||
dh_auto_build
|
|
||||||
$(MAKE) -C docs clean html
|
|
||||||
|
|
Loading…
Reference in a new issue