[Python-modules-commits] [flufl.lock] 01/07: Handles properly the documentation building
Pierre-Elliott Bécue
peb-guest at moszumanska.debian.org
Mon Nov 27 22:22:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
peb-guest pushed a commit to branch master
in repository flufl.lock.
commit 1840c246adbc2f87ed86e4507e1afd18007d3a66
Author: Pierre-Elliott Bécue <becue at crans.org>
Date: Mon Nov 27 23:19:42 2017 +0100
Handles properly the documentation building
---
debian/python-flufl.lock-doc.dirs | 1 -
debian/python-flufl.lock-doc.install | 1 +
debian/rules | 6 ++----
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/debian/python-flufl.lock-doc.dirs b/debian/python-flufl.lock-doc.dirs
deleted file mode 100644
index d20eab5..0000000
--- a/debian/python-flufl.lock-doc.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/python3-flufl.lock
diff --git a/debian/python-flufl.lock-doc.install b/debian/python-flufl.lock-doc.install
new file mode 100644
index 0000000..61976c8
--- /dev/null
+++ b/debian/python-flufl.lock-doc.install
@@ -0,0 +1 @@
+build/sphinx/html usr/share/doc/python3-flufl.lock
diff --git a/debian/rules b/debian/rules
index c0730ee..9ce117e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,8 +13,6 @@ export PYBUILD_NAME=flufl.lock
override_dh_installchangelogs:
dh_installchangelogs -k flufl/lock/NEWS.rst
-override_dh_installdocs:
+override_dh_auto_build:
+ dh_auto_build
python3 setup.py build_sphinx
- dh_installdocs build/sphinx/html
- mv debian/python-flufl.lock-doc/usr/share/doc/python-flufl.lock-doc/html \
- debian/python-flufl.lock-doc/usr/share/doc/python3-flufl.lock/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flufl.lock.git
More information about the Python-modules-commits
mailing list