[pyevolve] 15/81: Move docs to html subdir

Christian Kastner chrisk-guest at moszumanska.debian.org
Sun Aug 17 21:12:39 UTC 2014


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

chrisk-guest pushed a commit to branch master
in repository pyevolve.

commit 51d7b83989e655e4f426c25cbb3a7241c0e9e653
Author: Christian Kastner <debian at kvr.at>
Date:   Thu Jun 24 17:20:56 2010 +0200

    Move docs to html subdir
---
 debian/python-pyevolve-doc.doc-base |  4 ++--
 debian/python-pyevolve-doc.docs     |  5 +----
 debian/python-pyevolve-doc.links    |  2 +-
 debian/rules                        | 10 +++++++---
 4 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/debian/python-pyevolve-doc.doc-base b/debian/python-pyevolve-doc.doc-base
index 5474c53..1f563f1 100644
--- a/debian/python-pyevolve-doc.doc-base
+++ b/debian/python-pyevolve-doc.doc-base
@@ -5,5 +5,5 @@ Abstract: This manual contains the API and usage documentation for the Pyevolve
 Section: Programming
 
 Format: HTML
-Index: /usr/share/doc/python-pyevolve-doc/index.html
-Files: /usr/share/doc/python-pyevolve-doc/*.html
+Index: /usr/share/doc/python-pyevolve-doc/html/index.html
+Files: /usr/share/doc/python-pyevolve-doc/html/*.html
diff --git a/debian/python-pyevolve-doc.docs b/debian/python-pyevolve-doc.docs
index 2236399..a8ae8ed 100644
--- a/debian/python-pyevolve-doc.docs
+++ b/debian/python-pyevolve-doc.docs
@@ -1,4 +1 @@
-docs/build/_images
-docs/build/_static
-docs/build/*.html
-docs/build/*.js
+docs/html
diff --git a/debian/python-pyevolve-doc.links b/debian/python-pyevolve-doc.links
index 04e9739..2b3e179 100644
--- a/debian/python-pyevolve-doc.links
+++ b/debian/python-pyevolve-doc.links
@@ -1 +1 @@
-usr/share/javascript/jquery/jquery.js	usr/share/doc/python-pyevolve-doc/jquery.js
+usr/share/javascript/jquery/jquery.js	usr/share/doc/python-pyevolve-doc/html/jquery.js
diff --git a/debian/rules b/debian/rules
index 1c0a12e..29a588b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,13 +15,17 @@ export DH_OPTIONS
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf Pyevolve.egg-info
-	rm -rf docs/build
+	rm -rf docs/html
 
 # Override needed for building documentation; jquery link
 override_dh_auto_build:
 	dh_auto_build
-	cd docs && sh build_docs.sh
-	rm -f docs/build/_static/jquery.js
+	cd docs && sphinx-build -E -a -b html ./source ./html
+	rm -rf docs/html/.buildinfo
+	rm -rf docs/html/.doctrees
+	rm -rf docs/html/_sources
+	rm -f docs/html/objects.inv
+	rm -f docs/html/_static/jquery.js
 
 # Override needed for multiple binary package;
 # script must be renamed, line endings converted to Unix

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyevolve.git



More information about the debian-science-commits mailing list