[debhelper-devel] Bug#511048: Bug#511048: directory removal suggestion

Gergely Nagy algernon at madhouse-project.org
Thu Oct 8 18:32:31 UTC 2015


On Thu, Oct 8, 2015 at 6:58 PM, Axel Beckert <abe at debian.org> wrote:
> Hi,
>
> Barak A. Pearlmutter wrote:
>> How about using the same convention as .gitignore, so to include a
>> directory foo put a line foo/ in debian/clean.  The trailing slash
>> would tell dh_clean that this is a directory please remove it anyway.
>> This would avoid making debian/cleandirs which seems like too much
>> clutter, and the syntax is pretty easy to remember and read.
>
> I like this proposition way more than to (ab)use the overhead of
> dh-exec for this purpose. It's simple, obvious and can't be
> misunderstood.

I too, would favour a solution that does not involve dh-exec. If this
can be done in debhelper, yay! But if not, I'll add the magic to
dh-exec, which is still a reasonable solution, even if it's an
overhead.

Which shall it be?

-- 
|8]




More information about the debhelper-devel mailing list