[pacman-dev] [PATCH 3/5] Clean is done everytime it's asked for
seblu at seblu.net
Fri Aug 12 13:49:07 EDT 2011
On Fri, Aug 12, 2011 at 6:58 PM, Dave Reisner <d at falconindy.com> wrote:
> On Tue, Aug 09, 2011 at 12:56:41PM +0200, Sebastien Luttringer wrote:
>> Before this, cleaning is done when script exit with a value != 0.
>> If a build fail, directory remain unclean. The purpose of cleaning should
>> not be changed if build fail.
> I think this is intended behavior. One might want to investigate _why_ a
> build failed by looking in the $srcdir.
Someone who wants to investigate a build failure doesn't pass -c as argument ?
Same as you don't strip when you want to debug.
gcc -g toto.c -o toto; strip toto, have the same behaviour
When you call "makepkg", it will fail and don't remove content to make
investigation. If you call "makepkg -c", i suppose, you want do clean
(even it fail).
My idea was to be able to clean a directory without build package.
But i can implement something like -C which just clean content of the
More information about the pacman-dev