debian/rules
changeset 4634 0b231ea2124b
parent 4632 a1d191feaa84
child 4645 6292fe564b20
--- a/debian/rules	Fri Apr 26 01:20:08 2019 +0530
+++ b/debian/rules	Fri May 03 01:23:12 2019 +0200
@@ -6,7 +6,8 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	$(MAKE) -C docs
+	# Workaround for Sphinx in Debian Buster defaulting to Python 3
+	SPHINXBUILD=/usr/share/sphinx/scripts/python2/sphinx-build $(MAKE) -C docs
 
 hgsrc_defined:
 	# Use "! -z" instead of "-n", because "-n" without arguments is true