[Python-modules-commits] [python-aiosmtpd] 02/02: Installs the changelog the proper way and cleans better
Pierre-Elliott Bécue
peb-guest at moszumanska.debian.org
Mon Jul 31 11:37:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
peb-guest pushed a commit to branch master
in repository python-aiosmtpd.
commit 1dbdf5df2e750ca12b80b39da4bdb17b4262e752
Author: Pierre-Elliott Bécue <becue at crans.org>
Date: Mon Jul 31 13:37:13 2017 +0200
Installs the changelog the proper way and cleans better
---
debian/clean | 1 +
debian/rules | 9 +++------
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..7b8f2cf
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+debian/compiled_doc/
diff --git a/debian/rules b/debian/rules
index 0304e2c..d1fcbfc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,15 +12,12 @@ export PYBUILD_NAME=aiosmtpd
override_dh_installdocs:
PYTHONPATH=. sphinx-build -N -q -E -c ./ -b html . debian/compiled_doc/temp
mv debian/compiled_doc/temp/aiosmtpd/docs debian/compiled_doc/html
- rm -rf debian/compiled_doc/temp
- cp -a debian/compiled_doc/html/NEWS.html debian/compiled_doc/changelog.html
- lynx -dump -nolist debian/compiled_doc/changelog.html > debian/compiled_doc/changelog
- gzip -9 debian/compiled_doc/changelog.html
- gzip -9 debian/compiled_doc/changelog
dh_installdocs
override_dh_installman:
mkdir -p debian/compiled_doc/manpage
rst2man aiosmtpd/docs/manpage.rst > debian/compiled_doc/manpage/aiosmtpd.man
dh_installman
- rm -rf debian/compiled_doc/manpage
+
+override_dh_installchangelogs:
+ dh_installchangelogs aiosmtpd/docs/NEWS.rst
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-aiosmtpd.git
More information about the Python-modules-commits
mailing list