[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#325372: lintian: please add check for careless usage of "make clean" and the like



clone 325372 -1 -2 -3
reassign -1 dh-make
reassign -2 dh-make-perl
reassign -3 maint-guide
thanks

On Sun, Aug 28, 2005 at 12:54:02AM -0500, Branden Robinson wrote:
> A lot of packages, particularly those with upstreams that use the GNU
> autotools, have a very nasty habit of running the upstream clean rule while
> utterly ignoring any errors from it.  This is very, very bad.  Please add a
> check for it.
> 
> An egrep regex to catch this is probably about as simple as:
> 
> '\t[[:space:]]*-(\$[({]MAKE[)}]|make)[[:space:]].*(dist)?clean'
> 
> See transcript of IRC discussion below for further elaboration of rationale.
[...]

While I think this might be a worthwile cause I would welcome if it was
mentioned somewhere before lintian suddenly tries to enforce it.
Preferably on debian-devel or some list like that...

As a first step I reassigned this to some of the packages that
teach people to use such constructs.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: