Quoting Jonas Smedegaard (2016-05-20 12:59:21) > Quoting Emilio Pozuelo Monfort (2016-05-20 12:38:11) >> Looks like in the past this called: >> >> dh_installdocs -plibgtkspell3-3-0 ./README ./AUTHORS >> dh_installdocs -plibgtkspell3-3-dev ./README ./AUTHORS README >> >> See >> https://buildd.debian.org/status/fetch.php?pkg=gtkspell3&arch=i386&ver=3.0.8-1&stamp=1461112198 >> >> Which is rather confusing. No idea if that is expected and what is >> the proper way to disable installation of docs. > > Hmm, that looks buggy too - a different bug. Thanks for spotting that!
No, that other issue is not a bug: DEB_INSTALL_DOCS_libgtkspell3-3-0 overrides only DEB_INSTALL_DOCS_DEFAULT, not DEB_INSTALL_DOCS_ALL. (It would've been more intuitive if auto-detected files were included only by default, but that's not how it was introduced many years ago, and will need an epoch to change now.) Here's how to only include README only in -dev: DEB_INSTALL_DOCS_ALL = DEB_INSTALL_DOCS_libgtkspell3-3-dev = README Here's how to include README in -dev, and auto-detect only for -doc: DEB_INSTALL_DOCS_libgtkspell3-3-doc := $(DEB_INSTALL_DOCS_ALL) DEB_INSTALL_DOCS_ALL = DEB_INSTALL_DOCS_libgtkspell3-3-dev = README The latter example must be declared _after_ snippet inclusion - for the former example order does not matter. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature