[Python-modules-commits] [dask] 03/11: Use the upstream Makefile for the docs

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed May 31 11:49:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository dask.

commit dfe3379e40630c332cdd2af8b488e72c5311d394
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed May 31 12:13:25 2017 +0100

    Use the upstream Makefile for the docs
---
 debian/python-dask-doc.docs | 2 +-
 debian/rules                | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/python-dask-doc.docs b/debian/python-dask-doc.docs
index 6d28621..a213c54 100644
--- a/debian/python-dask-doc.docs
+++ b/debian/python-dask-doc.docs
@@ -1 +1 @@
-build/html
+docs/build/html
diff --git a/debian/rules b/debian/rules
index fe4ba9a..361baf3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,13 +6,13 @@ export PYBUILD_NAME=dask
 
 override_dh_auto_clean:
 	dh_auto_clean
-	$(RM) -rf build/html
+	$(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
-	PYTHONPATH=. sphinx-build -N -bhtml docs/source build/html # HTML generator
+	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 
 # Test needs: skimage, scipy, s3fs, cachey, distributed, graphviz
 # dask is a build-dep for distributed... so we can't run tests at build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dask.git



More information about the Python-modules-commits mailing list