[Python-modules-commits] [flask] 03/04: Remove unwanted license file from docs

Ondrej Novy onovy at debian.org
Sat Dec 9 13:47:03 UTC 2017


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

onovy pushed a commit to branch master
in repository flask.

commit f868a14eb0a05c5a09f2f6c7752c8a9f6c5fa60e
Author: Ondřej Nový <onovy at debian.org>
Date:   Sat Dec 9 14:43:14 2017 +0100

    Remove unwanted license file from docs
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c3881c5..54afd0b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ flask (0.12.2-3) UNRELEASED; urgency=medium
 
   * Change priority from extra to optional
   * Standards-Version is 4.1.2 now
+  * Remove unwanted license file from docs
 
  -- Ondřej Nový <onovy at debian.org>  Sat, 09 Dec 2017 14:31:59 +0100
 
diff --git a/debian/rules b/debian/rules
index df72d57..8301d1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,4 +18,7 @@ override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
 	http_proxy='http://127.0.0.1:9/' PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-flask-doc/usr/share/doc/python-flask-doc/html/
 	dh_sphinxdoc
+	# Remove unwanted license file, we already reference d/copyright
+	rm -f $(CURDIR)/debian/python-flask-doc/usr/share/doc/python-flask-doc/html/_sources/license.rst.txt
+	rm -f $(CURDIR)/debian/python-flask-doc/usr/share/doc/python-flask-doc/html/license.html
 endif

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



More information about the Python-modules-commits mailing list