[pynfft] 05/12: Move build of documentation to indep targets.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Feb 12 09:39:35 UTC 2016


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

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

commit 4c4c47acc0dba6ee0f3fa6cf4c3fc6f5555fbe41
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Feb 11 11:54:24 2016 +0000

    Move build of documentation to indep targets.
---
 debian/control |  3 ++-
 debian/rules   | 11 +++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 7a52245..28396c8 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,8 @@ Build-Depends:
  python3-numpy,
  python3-numpy-dbg,
  python3-setuptools,
- python-sphinx (>= 1.2.2+dfsg-2~)
+Build-Depends-Indep:
+ python-sphinx
 Standards-Version: 3.9.7
 Homepage: https://github.com/ghisvail/pyNFFT.git
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/pynfft.git
diff --git a/debian/rules b/debian/rules
index e3f6770..ac19a30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,12 +7,11 @@ export PYBUILD_AFTER_INSTALL_python2=dh_numpy
 export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
-override_dh_auto_install-indep:
+override_dh_auto_build-indep:
 	python setup.py build_sphinx -b html
 
-override_dh_sphinxdoc:
-ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
-	dh_sphinxdoc --package=python-${PYBUILD_NAME}-doc
-endif
+override_dh_installdocs-indep:
+	dh_installdocs --indep
+	dh_sphinxdoc --indep

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pynfft.git



More information about the debian-science-commits mailing list