equal
deleted
inserted
replaced
5 dh $@ --with python2 --buildsystem=python_distutils |
5 dh $@ --with python2 --buildsystem=python_distutils |
6 |
6 |
7 override_dh_auto_build: |
7 override_dh_auto_build: |
8 dh_auto_build |
8 dh_auto_build |
9 # Workaround for Sphinx in Debian Buster defaulting to Python 3 |
9 # Workaround for Sphinx in Debian Buster defaulting to Python 3 |
10 SPHINXBUILD=/usr/share/sphinx/scripts/python2/sphinx-build $(MAKE) -C docs |
10 SPHINXBUILD="python -m sphinx -bhtml" $(MAKE) -C docs |
11 |
11 |
12 hgsrc_defined: |
12 hgsrc_defined: |
13 # Use "! -z" instead of "-n", because "-n" without arguments is true |
13 # Use "! -z" instead of "-n", because "-n" without arguments is true |
14 test ! -z $(HGSRC) && test -d $(HGSRC) || (echo "$(HGSRC) is not a directory"; false) |
14 test ! -z $(HGSRC) && test -d $(HGSRC) || (echo "$(HGSRC) is not a directory"; false) |
15 |
15 |