Re: [Qemu-devel] [PATCH] allow make {dist, }clean work w/out configure

2012-09-17 Thread Paolo Bonzini
Il 16/09/2012 22:03, Mike Frysinger ha scritto: >>> > > +ifeq ($(findstring clean,$(MAKECMDGOALS)),) >> > >> > Please use instead: >> > >> > ifneq ($(filter-out %clean,$(MAKECMDGOALS)),) >> > >> > so that "make clean all" still gives error. > that breaks `make` though. or rather, `make` no long

Re: [Qemu-devel] [PATCH] allow make {dist, }clean work w/out configure

2012-09-16 Thread Mike Frysinger
On Sunday 16 September 2012 05:52:47 Paolo Bonzini wrote: > Il 16/09/2012 02:30, Mike Frysinger ha scritto: > > There's no reason to require configure to run before running a clean > > target, so check MAKECMDGOALS before. > > > > --- a/Makefile > > +++ b/Makefile > > @@ -14,9 +14,11 @@ config-hos

Re: [Qemu-devel] [PATCH] allow make {dist, }clean work w/out configure

2012-09-16 Thread Paolo Bonzini
Il 16/09/2012 02:30, Mike Frysinger ha scritto: > There's no reason to require configure to run before running a clean > target, so check MAKECMDGOALS before. > > Signed-off-by: Mike Frysinger > --- > Makefile |4 > 1 file changed, 4 insertions(+) > > diff --git a/Makefile b/Makefile >

[Qemu-devel] [PATCH] allow make {dist,}clean work w/out configure

2012-09-15 Thread Mike Frysinger
There's no reason to require configure to run before running a clean target, so check MAKECMDGOALS before. Signed-off-by: Mike Frysinger --- Makefile |4 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 1cd5bc8..e75740c 100644 --- a/Makefile +++ b/Makefile @@ -14,