debian/rules
branchstable
changeset 4645 6292fe564b20
parent 4632 a1d191feaa84
child 4909 56a8fbdd6090
--- a/debian/rules	Fri May 03 03:52:44 2019 +0530
+++ b/debian/rules	Sun May 05 22:48:41 2019 +0530
@@ -7,7 +7,7 @@
 override_dh_auto_build:
 	dh_auto_build
 	# Workaround for Sphinx in Debian Buster defaulting to Python 3
-	SPHINXBUILD=/usr/share/sphinx/scripts/python2/sphinx-build $(MAKE) -C docs
+	SPHINXBUILD="python -m sphinx -bhtml" $(MAKE) -C docs
 
 hgsrc_defined:
 	# Use "! -z" instead of "-n", because "-n" without arguments is true