]> git.proxmox.com Git - qemu.git/blobdiff - Makefile
Fix TAGS creation
[qemu.git] / Makefile
index 12c7662667280a24df4930cfeafef10104fa966c..69151787ff91e066ff36057b41cf15be61643a90 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -334,7 +334,8 @@ test speed: all
 
 .PHONY: TAGS
 TAGS:
-       find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags
+       rm -f $@
+       find "$(SRC_PATH)" -name '*.[hc]' -exec etags --append {} +
 
 cscope:
        rm -f ./cscope.*