[renpy] 10/30: Build the documentation from source and use sphinxdoc.

Markus Koschany apo at moszumanska.debian.org
Sat Dec 2 23:20:35 UTC 2017


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

apo pushed a commit to branch master
in repository renpy.

commit dec2ac93d50e0757ba3ec30c62a36162c6816420
Author: Markus Koschany <apo at debian.org>
Date:   Sat Dec 2 21:58:44 2017 +0100

    Build the documentation from source and use sphinxdoc.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d6ecf7b..66ce7c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 RENPY_DEPS_INSTALL="/usr::/usr/lib/$(DEB_HOST_MULTIARCH)"
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,sphinxdoc
 
 override_dh_install-indep:
 	chmod +x renpy.py
@@ -38,6 +38,8 @@ override_dh_auto_build:
 		CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
 		LDFLAGS="$(LDFLAGS) $(LDFLAGS2)" \
 		cd module && python$* setup.py build
+	export http_proxy=127.0.0.1:9
+	PYTHONPATH=. sphinx-build -N -bhtml sphinx/ build/html # HTML generator
 
 override_dh_auto_install:
 	export RENPY_DEPS_INSTALL=$(RENPY_DEPS_INSTALL) ; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/renpy.git



More information about the Pkg-games-commits mailing list