[cvxopt] 08/11: Support nodoc flag of DEB_BUILD_OPTIONS.

Sébastien Villemot sebastien at debian.org
Mon Aug 21 14:44:11 UTC 2017


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

sebastien pushed a commit to branch master
in repository cvxopt.

commit 8e8c9ea9005737f0e0478fc8f4a91f94ffc65841
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Mon Aug 21 16:34:17 2017 +0200

    Support nodoc flag of DEB_BUILD_OPTIONS.
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6eb7749..7d4834a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ cvxopt (1.1.9+dfsg-2) UNRELEASED; urgency=medium
   * Add a build-dependency on latexmk, required to build with Sphinx 1.6
     (Closes: #872170).
   * Drop glpk-4.49.diff, no longer needed (Closes: #840159).
+  * Support nodoc flag of DEB_BUILD_OPTIONS.
 
  -- Julian Gilbey <jdg at debian.org>  Mon, 21 Aug 2017 08:46:22 +0100
 
diff --git a/debian/rules b/debian/rules
index 82e4e4e..b299525 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,9 +18,11 @@ override_dh_install:
 	find debian/python*-cvxopt -name cvxopt -type d -empty -delete
 
 override_dh_auto_build-indep:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	# $(pyrun) 'make --directory=doc html latex'
 	make --directory=doc html latex
 	make --directory=doc/build/latex all-pdf
+endif
 
 override_dh_fixperms-indep:
 	dh_fixperms -i

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



More information about the debian-science-commits mailing list