Bug#824831: gtkspell3: FTBFS: cp: cannot stat './AUTHORSREADME': No such file or directory
Jonas Smedegaard
dr at jones.dk
Fri May 20 11:17:42 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20160520/2e703f05/attachment.sig>
More information about the pkg-gnome-maintainers
mailing list