[Python-modules-commits] [python-agate] 04/06: Build the docs using the upstream Makefile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri May 26 10:35:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-agate.
commit b0d53c3301ca048acb6e9e1677794ab5f2914b8e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri May 26 11:05:33 2017 +0100
Build the docs using the upstream Makefile
---
debian/python-agate-doc.docs | 2 +-
debian/rules | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/python-agate-doc.docs b/debian/python-agate-doc.docs
index 6d28621..4ecc793 100644
--- a/debian/python-agate-doc.docs
+++ b/debian/python-agate-doc.docs
@@ -1 +1 @@
-build/html
+docs/_build/html
diff --git a/debian/rules b/debian/rules
index 875f630..70def6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,18 @@ export PYBUILD_AFTER_TEST = rm -rf {build_dir}/examples
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+override_dh_auto_clean:
+ dh_auto_clean
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ $(MAKE) -C docs clean
+endif
+
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
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
- PYTHONPATH=. sphinx-build -N -b html docs build/html
+ PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
endif
override_dh_auto_test:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-agate.git
More information about the Python-modules-commits
mailing list