* [Qemu-devel] [PATCH] Makefile: fixed rule TAGS
@ 2009-08-07 14:43 Alexandre Bique
0 siblings, 0 replies; only message in thread
From: Alexandre Bique @ 2009-08-07 14:43 UTC (permalink / raw)
To: qemu-devel; +Cc: Alexandre Bique
- still works if the build dir is not the src dir
- use find instead of *.c block/*.c etc...
Signed-off-by: Alexandre Bique <alexandre.bique@citrix.com>
---
Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index d3f999e..052ca88 100644
--- a/Makefile
+++ b/Makefile
@@ -285,8 +285,9 @@ endif
test speed: all
$(MAKE) -C tests $@
+.PHONY: TAGS
TAGS:
- etags *.[ch] tests/*.[ch] block/*.[ch] hw/*.[ch]
+ find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags
cscope:
rm -f ./cscope.*
--
1.6.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-07 14:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07 14:43 [Qemu-devel] [PATCH] Makefile: fixed rule TAGS Alexandre Bique
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).