[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 21d4e8e] Makefile: fixed rule TAGS
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 21d4e8e] Makefile: fixed rule TAGS |
Date: |
Thu, 27 Aug 2009 22:03:59 -0000 |
From: Alexandre Bique <address@hidden>
- still works if the build dir is not the src dir
- use find instead of *.c block/*.c etc...
Signed-off-by: Alexandre Bique <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/Makefile b/Makefile
index f6bdf84..e595cb5 100644
--- a/Makefile
+++ b/Makefile
@@ -244,8 +244,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.*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 21d4e8e] Makefile: fixed rule TAGS,
Anthony Liguori <=