[Python-modules-commits] [matplotlib] 18/20: use absolute (not relative) paths when building doc

Sandro Tosi morph at moszumanska.debian.org
Sun Sep 25 21:54:25 UTC 2016


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

morph pushed a commit to branch experimental
in repository matplotlib.

commit d4efcc0030ecd143d7739973e2998172782bbcc9
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Sep 25 16:23:01 2016 +0100

    use absolute (not relative) paths when building doc
---
 debian/changelog | 4 +++-
 debian/rules     | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ee4892a..47e31c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,10 @@ matplotlib (2.0.0~beta4-1) UNRELEASED; urgency=medium
     - set version reqs for cycler to be >= 0.10.0
   * debian/copyright
     - remove refs to six.py, no longer shipped upstream
+  * debian/rules
+    - use absolute (not relative) paths when building doc
 
- -- Sandro Tosi <morph at debian.org>  Sun, 25 Sep 2016 16:21:53 +0100
+ -- Sandro Tosi <morph at debian.org>  Sun, 25 Sep 2016 16:22:30 +0100
 
 matplotlib (1.5.3-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index fa3511d..33b4e7a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,8 +21,8 @@ build-indep-stamp: $(DEFPY:%=build-%-stamp)
 	dh_testdir
 
 	# build the doc
-	-( cd doc ; MPLCONFIGDIR=. MATPLOTLIBDATA=../lib/matplotlib/mpl-data/ \
-		PYTHONPATH=../build/lib.$(PY_PLATFORM)-$(DEFPY) ./make.py --small html )
+	-( cd doc ; MPLCONFIGDIR=. MATPLOTLIBDATA=$(CURDIR)/lib/matplotlib/mpl-data/ \
+		PYTHONPATH=$(CURDIR)/build/lib.$(PY_PLATFORM)-$(DEFPY) ./make.py --small html )
 
 	touch $@
 

-- 
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