diff --git a/debian/control b/debian/control index 6859b07fa..084a38d94 100644 --- a/debian/control +++ b/debian/control @@ -15,10 +15,11 @@ Build-Depends: debhelper-compat (= 13), librhash-dev, libuv1-dev (>= 1.10), procps [!hurd-any], - python3-sphinx, - python3-sphinxcontrib.qthelp | python3-sphinx (<< 2.0), qtbase5-dev , zlib1g-dev +Build-Depends-Indep: python3-sphinx, + python3-sphinxcontrib.qthelp | python3-sphinx (<< 2.0), + dh-sequence-sphinxdoc Rules-Requires-Root: no Standards-Version: 4.6.0 Vcs-Git: https://salsa.debian.org/cmake-team/cmake.git @@ -92,6 +93,7 @@ Package: cmake-doc Architecture: all Multi-Arch: foreign Section: doc +Built-Using: ${sphinxdoc:Built-Using} Depends: ${misc:Depends}, ${sphinxdoc:Depends}, cmake-data (= ${source:Version}) Recommends: doc-base Suggests: cmake diff --git a/debian/rules b/debian/rules index 3cbd405af..2dd86c59a 100755 --- a/debian/rules +++ b/debian/rules @@ -70,4 +70,4 @@ override_dh_sphinxdoc: dh_sphinxdoc -pcmake-doc %: - dh $@ --with=sphinxdoc --builddirectory=Build + dh $@ --builddirectory=Build