[Python-modules-commits] [python-icalendar] 06/07: debian/rules: Set PYTHONPATH for sphinx build.

Jelmer Vernooij jelmer at moszumanska.debian.org
Fri Mar 24 10:45:52 UTC 2017


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

jelmer pushed a commit to branch experimental
in repository python-icalendar.

commit 7d7d8d5f52fe00c0cac29000af78ffc031781e8a
Author: Jelmer Vernooij <jelmer at debian.org>
Date:   Thu Mar 23 13:18:33 2017 +0000

    debian/rules: Set PYTHONPATH for sphinx build.
---
 debian/changelog | 1 +
 debian/rules     | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2bbb2f6..c5e6c5a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ python-icalendar (3.11.3-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Bump debhelper version to 9.
   * Bump standards version to 3.9.8 (no changes).
+  * debian/rules: Set PYTHONPATH for sphinx build.
 
  -- Jelmer Vernooij <jelmer at debian.org>  Thu, 23 Mar 2017 13:05:54 +0000
 
diff --git a/debian/rules b/debian/rules
index 98eb75f..3325638 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,11 @@ export DH_VERBOSE=1
 
 override_dh_auto_build:
 	dh_auto_build -O--buildsystem=pybuild
-	$(MAKE) -C docs html
+	$(MAKE) -C docs html PYTHONPATH=$(shell pwd)/src
 
 override_dh_auto_clean:
 	dh_auto_clean -O--buildsystem=pybuild
-	$(MAKE) -C docs clean
+	$(MAKE) -C docs clean PYTHONPATH=$(shell pwd)/src
 	rm -fr src/icalendar.egg-info
 
 override_dh_auto_test:
@@ -25,4 +25,4 @@ override_dh_installchangelogs:
 	dh_installchangelogs CHANGES.rst
 
 override_dh_installdocs:
-	dh_installdocs -Xlicense.txt -Xjquery.js -Xunderscore.js
\ No newline at end of file
+	dh_installdocs -Xlicense.txt -Xjquery.js -Xunderscore.js

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



More information about the Python-modules-commits mailing list