[Python-modules-commits] [deap] 04/06: restored switch for DEB_BUILD_OPTIONS=nodoc

Daniel Stender stender at moszumanska.debian.org
Thu Jul 13 05:32:40 UTC 2017


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

stender pushed a commit to branch master
in repository deap.

commit 0251c2159d8f014b5d60e36416803b95570fad4f
Author: Daniel Stender <stender at debian.org>
Date:   Wed Jul 12 23:31:59 2017 +0200

    restored switch for DEB_BUILD_OPTIONS=nodoc
---
 debian/changelog | 4 +++-
 debian/rules     | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5f5978c..2a9d3d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,10 @@ deap (1.0.2.post2-3) UNRELEASED; urgency=medium
   * deb/copyright:
     + use https in Format field (as preferred by new standards).
     + expand copyright span.
+  * deb/rules:
+    + restored switch for DEB_BUILD_OPTIONS=nodoc (accepted in standards).
 
- -- Daniel Stender <stender at debian.org>  Wed, 12 Jul 2017 23:05:41 +0200
+ -- Daniel Stender <stender at debian.org>  Wed, 12 Jul 2017 23:29:04 +0200
 
 deap (1.0.2.post2-2) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 30e3abd..949cad0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,9 @@ export LC_ALL=C.UTF-8
 
 override_dh_auto_install:
 	dh_auto_install
+ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc debian/deap-doc/usr/share/doc/deap-doc/html
+endif
 	rdfind -outputname /dev/null -makesymlinks true debian/deap-doc
 	symlinks -r -s -c debian/deap-doc
 

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



More information about the Python-modules-commits mailing list