diff debian/rules @ 6137:0562705ae984

debian: drop all python2 Should no longer be needed on Debian 11+.
author Kim Alvefur <zash@zash.se>
date Fri, 07 Jan 2022 20:09:21 +0100
parents 95500f2f0966
children 623517b1d83b
line wrap: on
line diff
--- a/debian/rules	Sun Jan 09 23:05:28 2022 +0530
+++ b/debian/rules	Fri Jan 07 20:09:21 2022 +0100
@@ -7,8 +7,7 @@
 ifeq (,$(filter nodoc, $(DEB_BUILD_OPTIONS)))
 override_dh_auto_build:
 	dh_auto_build
-	# Workaround for Sphinx in Debian Buster defaulting to Python 3
-	SPHINXBUILD="python3 -m sphinx -bhtml" $(MAKE) -C docs
+	$(MAKE) -C docs
 endif
 
 hgsrc_defined: