[debhelper-devel] Bug#868204: dh_installdocs tries to install README.Debian even if it already exists (regression)

Stéphane Glondu glondu at debian.org
Thu Jul 13 09:19:08 UTC 2017


On 13/07/2017 08:14, Niels Thykier wrote:
> If you don't want to have dh_installdocs to touch that file, then you
> should use either:
>
>  * --exclude usr/share/doc/ocaml-nox/README.Debian
>    => Make dh_installdocs stop trying to install anything there.
>
>  * --ignore debian/README.Debian
>    => Make dh_installdocs pretend that debian/README.Debian does not
>       exists.
>
> (Untested, from finger memory)
>
> I would recommend using --ignore for this case because it appears to be
> trivially applicable plus I hope to optimize dh_installdocs eventually
> and my current optimization methods are disabled with --exclude.

Using --ignore works. Applied in ocaml 4.02.3-10.


Cheers,

-- 
Stéphane




More information about the debhelper-devel mailing list