]> git.proxmox.com Git - qemu.git/commit - Makefile
Fix TAGS creation
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2013 02:57:28 +0000 (13:57 +1100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 15 Mar 2013 16:36:49 +0000 (11:36 -0500)
commitb1999e87b4d42305419329cae459e1b43f706d96
treec7cd8c0431a64f5a41c51ba81548cdf423a39036
parentdc0b0616f726956001be09e9a65a6e0b0bd939db
Fix TAGS creation

Currently the Makefile creates TAGS for emacs with the command:
    find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags
That works only if xargs ends up invoking etags just once.  If xargs runs
etags several times, as it will if there are enough files, then the later
invocations will overwrite the output from the earlier invocations.  This
patch uses the etags --append option to fix the bug.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Message-id: 1363057048-21534-1-git-send-email-david@gibson.dropbear.id.au
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile