[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] allow make {dist, }clean work w/out configure
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] allow make {dist, }clean work w/out configure |
Date: |
Mon, 17 Sep 2012 09:55:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
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 longer errors out. need to
> make it a little more complicated to handle this.
Perhaps
MAKECMDGOALS ?= all
does it?
Paolo