[coreboot-gerrit] New patch to review for coreboot: ctags generation via Makefile
Nicky Sielicki (nlsielicki@wisc.edu)
gerrit at coreboot.org
Sat Jun 13 09:28:02 CEST 2015
Nicky Sielicki (nlsielicki at wisc.edu) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10535
-gerrit
commit dbf9beea67e7c766667342eeeec48bb849ff94bd
Author: Nicky Sielicki <nlsielicki at wisc.edu>
Date: Sat Jun 13 02:25:59 2015 -0500
ctags generation via Makefile
We do this for cscope, makes sense to do this for ctags
as well.
Change-Id: I703c272fc97891bf432e740a471d519b21620349
Signed-off-by: Nicky Sielicki <nlsielicki at wisc.edu>
---
Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Makefile b/Makefile
index aa9ccf9..f7f3b86 100644
--- a/Makefile
+++ b/Makefile
@@ -251,6 +251,11 @@ ifndef NOMKDIR
$(shell mkdir -p $(KCONFIG_SPLITCONFIG) $(objutil)/kconfig/lxdialog $(additional-dirs) $(alldirs))
endif
+tags: ctags
+ctags:
+ rm -f `git rev-parse --git-dir`/tags | true
+ git ls-files | ctags --tag-relative -L - -f"`git rev-parse --git-dir`/tags"
+
cscope:
cscope -bR
More information about the coreboot-gerrit
mailing list