On 10/06/21 13:31, Siddharth Chandrasekaran wrote:
Add make target to generate ctags tags file and add it to .gitignore. Signed-off-by: Siddharth Chandrasekaran <sidcha@xxxxxxxxx> --- Makefile | 4 ++++ .gitignore | 1 + 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index e0828fe..017e7d8 100644 --- a/Makefile +++ b/Makefile @@ -128,3 +128,7 @@ cscope: find -L $(cscope_dirs) -maxdepth 1 \ -name '*.[chsS]' -exec realpath --relative-base=$(PWD) {} \; | sort -u > ./cscope.files cscope -bk + +.PHONY: tags +tags: + ctags -R diff --git a/.gitignore b/.gitignore index 784cb2d..8534fb7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +tags .gdbinit *.a *.d
Queued, thanks. Paolo