[numba] 02/09: deb/rules: add switch to recognize nodoc from DEB_BUILD_OPTIONS

Daniel Stender stender at moszumanska.debian.org
Sun Jul 23 14:51:26 UTC 2017


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

stender pushed a commit to branch master
in repository numba.

commit a7d3b30c87cb87f12470e06113c7bb8ec000e324
Author: Daniel Stender <stender at debian.org>
Date:   Sun Jul 23 14:48:30 2017 +0200

    deb/rules: add switch to recognize nodoc from DEB_BUILD_OPTIONS
---
 debian/changelog | 3 ++-
 debian/rules     | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5d31382..75a1981 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,10 @@
 numba (0.34.0-2) UNRELEASED; urgency=medium
 
   * deb/rules:
+    + add switch to recognize nodoc from DEB_BUILD_OPTIONS.
     + run dh_numpy within dh_python overrides.
 
- -- Daniel Stender <stender at debian.org>  Mon, 17 Jul 2017 23:37:08 +0200
+ -- Daniel Stender <stender at debian.org>  Sun, 23 Jul 2017 14:47:27 +0200
 
 numba (0.34.0-1) experimental; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 4571e4f..df3609d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,10 @@ override_dh_installchangelogs:
 
 override_dh_installdocs:
 	dh_installdocs -A README.rst
+ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	cp -a docs CHANGE_LOG examples .pybuild/pythonX.Y_2.7/build
 	http_proxy='127.0.0.1:9' sphinx-build -N -bhtml .pybuild/pythonX.Y_2.7/build/docs/source/ debian/numba-doc/usr/share/doc/numba-doc/html/
+endif
 
 override_dh_python2:
 	dh_python2

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



More information about the debian-science-commits mailing list