Package: dms Version: 1.0.8.1-1 Followup-For: Bug #887635 User: ubuntu-de...@lists.ubuntu.com Usertags: bionic ubuntu-patch
Please find attached a patch that fixes this build failure, to ensure that dh_sphinxdoc is only called when dms-doc is among the packages being built. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru dms-1.0.8.1/debian/rules dms-1.0.8.1/debian/rules --- dms-1.0.8.1/debian/rules 2018-01-15 19:22:30.000000000 -0800 +++ dms-1.0.8.1/debian/rules 2018-03-22 15:55:06.000000000 -0700 @@ -49,8 +49,10 @@ find . -type d -name '__pycache__' | xargs rm -rf override_dh_sphinxdoc: - dh_sphinxdoc -X searchtools.js -X translations.js - dh_sphinxdoc /usr/share/doc/dms-doc/html/ +ifneq (,$(filter $(shell dh_listpackages),dms-doc)) + dh_sphinxdoc -X searchtools.js -X translations.js + dh_sphinxdoc /usr/share/doc/dms-doc/html/ +endif %: dh $@ --with sphinxdoc