On Thu, Oct 8, 2015 at 6:58 PM, Axel Beckert <a...@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]