properly build doc and installd it in the right -doc location

This commit is contained in:
Sandro Tosi 2020-08-23 23:10:45 -04:00
parent 37daf7f50c
commit 8867af20f3
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View file

@ -15,8 +15,10 @@ python-click (7.1.2-1) UNRELEASED; urgency=medium
- wrap-and-sort
- add sphinxcontrib-log-cabinet to b-d, needed by doc
- add sphinx.issues to b-d, needed by doc
* debian/rules
- properly build doc and installd it in the right -doc location
-- Sandro Tosi <morph@debian.org> Sun, 23 Aug 2020 23:05:31 -0400
-- Sandro Tosi <morph@debian.org> Sun, 23 Aug 2020 23:11:18 -0400
python-click (7.0-3) unstable; urgency=medium

2
debian/rules vendored
View file

@ -14,6 +14,6 @@ export SOURCE = $(CURDIR)/debian/
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
http_proxy='http://127.0.0.1:9/' PYTHONPATH=. python3 -m sphinx -N -q -E -b html docs/ debian/python-click-doc/usr/share/doc/python-click/html/
http_proxy='http://127.0.0.1:9/' PYTHONPATH=src/ python3 -m sphinx -N -E -b html docs/ debian/python-click-doc/usr/share/doc/python-click-doc/html/
dh_sphinxdoc
endif