[X2Go-Commits] [python-x2go] 06/07: debian/: Adapt to building API docs with Sphinx.

git-admin at x2go.org git-admin at x2go.org
Mon Mar 5 22:32:52 CET 2018


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

x2go pushed a commit to branch master
in repository python-x2go.

commit 1a5796a8c8376f1722f50861f4e69c61e6aa35ae
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Mar 5 22:31:42 2018 +0100

    debian/: Adapt to building API docs with Sphinx.
---
 debian/control              |  2 +-
 debian/python-x2go-doc.docs |  2 +-
 debian/rules                | 11 +++++------
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/debian/control b/debian/control
index cb826df..e41ed72 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Build-Depends:
  python3-gevent,
  python3-paramiko,
  python3-xlib,
- python-epydoc,
+ python3-sphinx,
  dh-python,
  locales
 Standards-Version: 4.1.0
diff --git a/debian/python-x2go-doc.docs b/debian/python-x2go-doc.docs
index 78ccf14..ef1c0c7 100644
--- a/debian/python-x2go-doc.docs
+++ b/debian/python-x2go-doc.docs
@@ -1 +1 @@
-.epydoc/html/
+docs/build/html/
diff --git a/debian/rules b/debian/rules
index d65a2b0..b7fe75e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,10 @@
 include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
-#configure/python-x2go-doc::
-#	if [ ! -d .epydoc/html ]; then \
-#	    mkdir -p .epydoc/html; \
-#	    epydoc --debug -n "Python X2Go" -u http://www.x2go.org -v --html --no-private -o .epydoc/html x2go/; \
-#	fi
+configure/python-x2go-doc::
+	if [ ! -f docs/build/html/index.html ]; then \
+	    make -f Makefile.docupload docbuild; \
+	fi
 
 cleanbuilddir/python-x2go-doc::
-	rm -Rf .epydoc/html
+	rm -Rf docs/build/

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git


More information about the x2go-commits mailing list