[pyzo] 03/04: Build the docs using the upstream Makefile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Jul 14 16:19:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository pyzo.
commit 34a1af29d3a9ab683eddee8be9b2ee413bd391a2
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Jul 14 16:54:48 2017 +0100
Build the docs using the upstream Makefile
---
debian/pyzo-doc.docs | 2 +-
debian/pyzo.manpages | 2 +-
debian/rules | 7 +++----
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/debian/pyzo-doc.docs b/debian/pyzo-doc.docs
index 344fcaa..7123782 100644
--- a/debian/pyzo-doc.docs
+++ b/debian/pyzo-doc.docs
@@ -1 +1 @@
-build/html/
+doc/_build/html
diff --git a/debian/pyzo.manpages b/debian/pyzo.manpages
index b19f8c8..7a234a3 100644
--- a/debian/pyzo.manpages
+++ b/debian/pyzo.manpages
@@ -1 +1 @@
-build/man/*
+doc/_build/man/*
diff --git a/debian/rules b/debian/rules
index 956d5f4..1950597 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,15 +13,14 @@ export PYBUILD_AFTER_INSTALL=mv {destdir}/usr/bin/pyzo \
override_dh_auto_clean:
dh_auto_clean
- $(RM) -rf build/html
- $(RM) -rf build/man
+ $(MAKE) -C doc 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 -b html doc build/html
- PYTHONPATH=. sphinx-build -N -b man doc build/man
+ PYTHONPATH=$(CURDIR) $(MAKE) -C doc html
+ PYTHONPATH=$(CURDIR) $(MAKE) -C doc man
override_dh_installchangelogs:
dh_installchangelogs RELEASE_NOTES.md
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyzo.git
More information about the debian-science-commits
mailing list