Makefile: Ensure cscope.out/tags/TAGS are generated in the source tree
commite90df5eada4e6047548203d781bd61ddcc45d7b4
authorGreg Kurz <groug@kaod.org>
Thu, 15 Oct 2020 14:49:06 +0000 (15 16:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Oct 2020 14:45:49 +0000 (17 10:45 -0400)
tree7f36ae5dba3ddd8f41dce3095cd9d46e00661ab4
parent6ebd89cf9ca3f5a6948542c4522b9380b1e9539f
Makefile: Ensure cscope.out/tags/TAGS are generated in the source tree

Tools usually expect the index files to be in the source tree, eg. emacs.
This is already the case when doing out-of-tree builds, but with in-tree
builds they end up in the build directory.

Force cscope, ctags and etags to put them in the source tree.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <160277334665.1754102.10921580280105870386.stgit@bahia.lan>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile