Re: Bug#178251: slang: don't do a dh_testroot in clean
On Mon, Mar 17, 2003 at 12:55:41PM +0100, Josip Rodin wrote:
> Since the binary target is invoked as root (be it fakeroot or su or
> whatever, it doesn't matter), and the clean rule needs to clean out the
> debian/tmp or equivalent directories, it needs root as well.
Nope, if the binary target was invoked as fakeroot, then the clean rule
will work fine without any special root powers.
> fakeroot dh_testroot works like a charm...
Yeah but having to specify it is annoying. Is there *any* reason for
putting dh_testroot in the clean rule? It just creates artificial
failure conditions.
Richard Braakman
Reply to: