Gergely Nagy <alger...@madhouse-project.org> writes: > Vincent Danjean <vdanjean...@free.fr> writes: > >> Le 15/12/2011 18:33, Gergely Nagy a écrit : >>> ,---- >>> | dh-exec.DEADBEEF/etc/my-package/my-package.conf /etc/my-package >>> | examples/* /usr/share/doc/my-package/examples >>> `---- >>> >>> As far as I see, this should cause no ill side-effects, apart from >>> strangely named directories under debian/tmp. >> [...] >>> Let me know what you think. >> >> How to you handle --list-missing from dh_install? I use it in my >> package to be sure to detect when a new file is added by upstream. > > It shouldn't affect list-missing. The => adds new files to > debian/tmp/dh-exec.BLAH/, which will be handled by dh_install anyway. So > they don't show up as false positive.
Actually, there is one case where the => magic will result in unexpected behaviour with --list-missing: if the source is already under debian/tmp, then we copy it, rewrite the location, and thus, the old file will not be known to dh_install. A solution for this case is to move the file instead, if it's already under debian/tmp. And thinking a bit more about it, => will almost always break --sourcedir. I do not know a solution for that, so this restriction will be documented instead. -- |8] -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/878vmc7urh.fsf@algernon.balabit