[Python-modules-commits] [matplotlib] 01/03: Build & install only the HTML version of the doc (no more PDF)

Sandro Tosi morph at moszumanska.debian.org
Thu Jan 7 23:21:16 UTC 2016


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

morph pushed a commit to branch master
in repository matplotlib.

commit 39815713226ebcede3a42e6a362535138c652781
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Jan 6 07:03:49 2016 +0000

    Build & install only the HTML version of the doc (no more PDF)
---
 debian/changelog                      | 3 ++-
 debian/python-matplotlib-doc.doc-base | 3 ---
 debian/rules                          | 4 ++--
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 28550c1..3b92d89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ matplotlib (1.5.1~rc1-1) UNRELEASED; urgency=medium
     - add/remove stanzas for new upstream code
   * debian/rules
     - run tests using tests.py, and disable those accessing the network
+  * Build & install only the HTML version of the doc (no more PDF)
 
- -- Sandro Tosi <morph at debian.org>  Tue, 05 Jan 2016 22:48:31 +0000
+ -- Sandro Tosi <morph at debian.org>  Wed, 06 Jan 2016 07:03:32 +0000
 
 matplotlib (1.5.0~rc2-1) unstable; urgency=medium
 
diff --git a/debian/python-matplotlib-doc.doc-base b/debian/python-matplotlib-doc.doc-base
index f993291..1ffd084 100644
--- a/debian/python-matplotlib-doc.doc-base
+++ b/debian/python-matplotlib-doc.doc-base
@@ -11,6 +11,3 @@ Section: Programming/Python
 Format: HTML
 Index: /usr/share/doc/python-matplotlib-doc/html/index.html
 Files: /usr/share/doc/python-matplotlib-doc/html/*
-
-Format: PDF
-Files: /usr/share/doc/python-matplotlib-doc/Matplotlib.pdf
diff --git a/debian/rules b/debian/rules
index ba72d77..2f551fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ build-indep-stamp: $(DEFPY:%=build-%-stamp)
 
 	# build the doc
 	-( cd doc ; MPLCONFIGDIR=. MATPLOTLIBDATA=../lib/matplotlib/mpl-data/ \
-		PYTHONPATH=../build/lib.$(PY_PLATFORM)-$(DEFPY) ./make.py --small all )
+		PYTHONPATH=../build/lib.$(PY_PLATFORM)-$(DEFPY) ./make.py --small html )
 
 	touch $@
 
@@ -209,7 +209,7 @@ binary-indep: build-indep install-indep
 	dh_testdir -i
 	dh_testroot -i
 	dh_installchangelogs -i CHANGELOG
-	dh_installdocs -p$(pd) -i doc/build/html/ doc/build/latex/Matplotlib.pdf
+	dh_installdocs -p$(pd) -i doc/build/html/
 	# remove pyc file from doc
 	dh_installexamples -p$(pd) -i examples/*
 	dh_compress -i -Xexamples -Xexamples/data -Xpdf -X.js -Xobjects.inv

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



More information about the Python-modules-commits mailing list