All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] build-sys: delete TAGS in distclean only
@ 2016-05-17 12:24 marcandre.lureau
  2016-05-19 12:36 ` Markus Armbruster
  0 siblings, 1 reply; 2+ messages in thread
From: marcandre.lureau @ 2016-05-17 12:24 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

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 <marcandre.lureau@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] build-sys: delete TAGS in distclean only
  2016-05-17 12:24 [Qemu-devel] [PATCH] build-sys: delete TAGS in distclean only marcandre.lureau
@ 2016-05-19 12:36 ` Markus Armbruster
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Armbruster @ 2016-05-19 12:36 UTC (permalink / raw)
  To: marcandre.lureau; +Cc: qemu-devel, Paolo Bonzini

marcandre.lureau@redhat.com writes:

> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> 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 <marcandre.lureau@redhat.com>

Reviewed-by: Markus Armbruster <armbru@redhat.com>

Cc'ing Paolo because I understand he already has some build system
patches queued.  If he doesn't want to take this one along, then try
qemu-trivial.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-19 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 12:24 [Qemu-devel] [PATCH] build-sys: delete TAGS in distclean only marcandre.lureau
2016-05-19 12:36 ` Markus Armbruster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.