qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/4] rules/mak: make clean should blow away time


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 3/4] rules/mak: make clean should blow away timestamp files
Date: Thu, 17 Jan 2013 11:28:46 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jan 15, 2013 at 06:57:34PM +0200, Michael S. Tsirkin wrote:
> Using a global pattern makes it easier to clean out
> old generated files.
> 
> Signed-off-by: Michael S. Tsirkin <address@hidden>
> ---
>  rules.mak | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/rules.mak b/rules.mak
> index d11a5b4..edc2552 100644
> --- a/rules.mak
> +++ b/rules.mak
> @@ -88,6 +88,11 @@ config-%.h: config-%.h-timestamp
>  config-%.h-timestamp: config-%.mak
>       $(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, " 
>  GEN   $(TARGET_DIR)config-$*.h")
>  
> +.PHONY: clean-timestamp
> +clean-timestamp:
> +     rm -f *.timestamp

Timestamp files also live in subdirectories and I think we're slowly
moving away from recursive make, so this may not clean all timestamp
files.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]