Re: RFC/RFR: dh-exec -- Scripts to help with executable debhelper files
Gergely Nagy <algernon@madhouse-project.org> writes:
> Vincent Danjean <vdanjean.ml@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]
Reply to: