[Python-modules-commits] [python-djvulibre] 02/02: deb/rules: added switch for DEB_BUILD_OPTIONS=nodocs to dh_installdocs
Daniel Stender
danstender-guest at moszumanska.debian.org
Fri May 1 13:08:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository python-djvulibre.
commit 1ec61f551cde6f23cbcdf67e0bcff495aba89e1c
Author: Daniel Stender <debian at danielstender.com>
Date: Fri May 1 12:51:26 2015 +0200
deb/rules: added switch for DEB_BUILD_OPTIONS=nodocs to dh_installdocs
---
debian/changelog | 3 ++-
debian/rules | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index fa5dc24..627028e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ python-djvulibre (0.3.10-1) unstable; urgency=medium
* deb/rules:
+ hardened test calls by unset of LANGUAGE (Closes: #695049).
+ added exports for PYBUILD_DESTDIR (Closes: #775657).
+ + added switch for DEB_BUILD_OPTIONS=nodocs to dh_installdocs.
+ dropped Vim setup line.
* deb/watch: watch pypi.debian.net.
* Docs package:
@@ -20,7 +21,7 @@ python-djvulibre (0.3.10-1) unstable; urgency=medium
* Added DEP-8 test suite.
* Added deb/gbp.conf.
- -- Daniel Stender <debian at danielstender.com> Fri, 01 May 2015 12:48:18 +0200
+ -- Daniel Stender <debian at danielstender.com> Fri, 01 May 2015 12:50:31 +0200
python-djvulibre (0.3.9-3) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 06f6ee4..352a50d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,8 @@ override_dh_install:
rm -r debian/python*-djvu/usr/lib/python*/dist-packages/djvu/dllpath.py
override_dh_installdocs:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
http_proxy='127.0.0.1:9' python setup.py build_sphinx
dh_installdocs -Xobjects.inv -A doc/credits.txt
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-djvulibre.git
More information about the Python-modules-commits
mailing list