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

Axel Beckert abe at debian.org
Thu Oct 8 16:58:26 UTC 2015


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.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE




More information about the debhelper-devel mailing list