[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779915: extra-cmake-modules: Should use dh_sphinxdoc



Package: extra-cmake-modules
Version: 1.7.0-1
Severity: important

ECM documentation currently ships embedded copies of Sphinx JS files
(jquery.js, underscore.js, websupport.js, searchtools.js and doctools.js)
in /usr/share/doc/ECM/html/_static/.

This violates Policy § 4.13, which states that convenience copies of code
should not be used.

In Debian, we have a tool named dh_sphinxdoc that automatically turns those
files into symlinks to packaged version.

All you have to do is to call dh_sphinxdoc *after* those files are installed
to debian/extra-cmake-modules/, and add ${sphinxdoc:Depends} to package
dependencies.

--
Dmitry Shachnev

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: