[sasview] 01/11: use sasview's own Makefile to generate docs

Drew Parsons dparsons at moszumanska.debian.org
Mon Oct 30 10:59:33 UTC 2017


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

dparsons pushed a commit to tag debian/4.1.2-1
in repository sasview.

commit 519af20119bf52b79bee1768a7ff879c5f9c4c03
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon Oct 30 16:58:02 2017 +0800

    use sasview's own Makefile to generate docs
    
    catches SasView API in Developer Documentation
---
 debian/rules            | 11 +++--------
 debian/sasview-doc.docs |  2 +-
 debian/sasview-doc.info |  2 +-
 debian/sasview.manpages |  2 +-
 4 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/debian/rules b/debian/rules
index 28deca7..f9db106 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,11 +14,6 @@ override_dh_install:
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml        docs/sphinx-docs/source/ build/html # HTML generator
-	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -btexinfo        docs/sphinx-docs/source/ build/info # Info generator
-	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman        docs/sphinx-docs/source/ build/man # Manpage generator
-
-override_dh_installinfo:
-	cd build/info; makeinfo SasView.texi
-	dh_installinfo
-
+	cd docs/sphinx-docs; make html
+	cd docs/sphinx-docs; make info
+	cd docs/sphinx-docs; make man
diff --git a/debian/sasview-doc.docs b/debian/sasview-doc.docs
index 4fa574d..7790a49 100644
--- a/debian/sasview-doc.docs
+++ b/debian/sasview-doc.docs
@@ -1,4 +1,4 @@
 README.Debian
 README.source
 docs/sasview/Tutorial.*
-build/html
+docs/sphinx-docs/build/html
diff --git a/debian/sasview-doc.info b/debian/sasview-doc.info
index fa8f328..d19c975 100644
--- a/debian/sasview-doc.info
+++ b/debian/sasview-doc.info
@@ -1 +1 @@
-build/info/SasView.info
+docs/sphinx-docs/build/texinfo/SasView.info
diff --git a/debian/sasview.manpages b/debian/sasview.manpages
index e42cd92..dba0005 100644
--- a/debian/sasview.manpages
+++ b/debian/sasview.manpages
@@ -1 +1 @@
-build/man/sasview.1
+docs/sphinx-docs/build/man/sasview.1

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



More information about the debian-science-commits mailing list