make: Add tags target and gitignore the tags file
PATCH 1/1 make: Add tags target and gitignore the tags file
Add make target to generate ctags tags file and add it to .gitignore.
Signed-off-by Siddharth Chandrasekaran <[email protected]>
--- Makefile | 4 ++++ .gitignore | 1 + 2 files changed, 5 insertions(+)
Makefile +4 -0
@@ -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
.gitignore +1 -0
@@ -1,3 +1,4 @@ +tags .gdbinit *.a *.d
Signature · 12 lines
2.17.1 Amazon Development Center Germany GmbH Krausenstr. 38 10117 Berlin Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B Sitz: Berlin Ust-ID: DE 289 237 879
Quoted 26 lines · Siddharth Chandrasekaran
Add make target to generate ctags tags file and add it to .gitignore.
Signed-off-by Siddharth Chandrasekaran <[email protected]>--- Makefile | 4 ++++ .gitignore | 1 + 2 files changed, 5 insertions(+)Makefile +4
-0@@ -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.gitignore +0
-0
.gitignore line 4
Quoted 4 lines
.gitignore +1
-0@@ -1,3 +1,4 @@ +tags .gdbinit *.a *.d
Queued, thanks.
Paolo