[Python-modules-commits] [flask-mail] 11/14: Hand-craft a README.

Dominik George natureshadow-guest at moszumanska.debian.org
Sat Apr 29 15:47:21 UTC 2017


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

natureshadow-guest pushed a commit to branch master
in repository flask-mail.

commit e126e410008ae861dc874df542d3dfcf8ab2f015
Author: Dominik George <nik at naturalnet.de>
Date:   Sat Apr 29 17:35:21 2017 +0200

    Hand-craft a README.
---
 debian/control | 1 +
 debian/rules   | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/control b/debian/control
index 6a056d4..4a72059 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Priority: optional
 Build-Depends:
  debhelper (>= 10),
  dh-python,
+ pandoc,
  python-all (>= 2.6.6-3),
  python-blinker,
  python-flask,
diff --git a/debian/rules b/debian/rules
index cbf5199..0d1eb4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,3 +12,8 @@ override_dh_installchangelogs:
 	# changelog.rst is a dummy file
 	# cf. https://github.com/mattupstate/flask-mail/issues/146
 	dh_installchangelogs -Xchangelog.rst
+
+override_dh_installdocs:
+	cp doc/index.rst debian/tmp/README.rst
+	pandoc -o debian/tmp/README.html debian/tmp/README.rst
+	dh_installdocs debian/tmp/README.html debian/tmp/README.rst

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



More information about the Python-modules-commits mailing list