qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] build-sys: delete TAGS in distclean only


From: marcandre . lureau
Subject: [Qemu-devel] [PATCH] build-sys: delete TAGS in distclean only
Date: Tue, 17 May 2016 14:24:08 +0200

From: Marc-André Lureau <address@hidden>

automake and other GNU build-sys generally keep TAGS file in make
'clean' rule and delete it only in 'distclean' (and 'mrproper' for
linux). Do the same for qemu.

Signed-off-by: Marc-André Lureau <address@hidden>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 651bb89..fd63e1b 100644
--- a/Makefile
+++ b/Makefile
@@ -347,7 +347,7 @@ clean:
        rm -f qemu-options.def
        rm -f *.msi
        find . \( -name '*.l[oa]' -o -name '*.so' -o -name '*.dll' -o -name 
'*.mo' -o -name '*.[oda]' \) -type f -exec rm {} +
-       rm -f $(filter-out %.tlb,$(TOOLS)) $(HELPERS-y) qemu-ga TAGS cscope.* 
*.pod *~ */*~
+       rm -f $(filter-out %.tlb,$(TOOLS)) $(HELPERS-y) qemu-ga cscope.* *.pod 
*~ */*~
        rm -f fsdev/*.pod
        rm -rf .libs */.libs
        rm -f qemu-img-cmds.h
@@ -380,7 +380,7 @@ distclean: clean
        rm -f qemu-doc.fn qemu-doc.fns qemu-doc.info qemu-doc.ky qemu-doc.kys
        rm -f qemu-doc.log qemu-doc.pdf qemu-doc.pg qemu-doc.toc qemu-doc.tp
        rm -f qemu-doc.vr
-       rm -f config.log
+       rm -f config.log TAGS
        rm -f linux-headers/asm
        rm -f qemu-tech.info qemu-tech.aux qemu-tech.cp qemu-tech.dvi 
qemu-tech.fn qemu-tech.info qemu-tech.ky qemu-tech.log qemu-tech.pdf 
qemu-tech.pg qemu-tech.toc qemu-tech.tp qemu-tech.vr
        for d in $(TARGET_DIRS); do \
-- 
2.7.4




reply via email to

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