From 1139422dfbdc3cdf290f8b57583563d8c678d559 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Sun, 18 Mar 2018 22:39:18 -0700 Subject: [PATCH] Fix the command used to generate ctags Summary: In original $ROCKSDB_HOME/Makefile, the command used to generate ctags is ``` ctags * -R ``` However, this failed to generate tags for me. I did some search on the usage of ctags command and found that it should be ``` ctags -R . ``` or ``` ctags -R * ``` After the change, I can find the tags in vim using `:ts `. Closes https://github.com/facebook/rocksdb/pull/3626 Reviewed By: ajkr Differential Revision: D7320217 Pulled By: riversand963 fbshipit-source-id: e4cd8f8a67842370a2343f0213df3cbd07754111 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7fbc42d0e..580c8394e 100644 --- a/Makefile +++ b/Makefile @@ -992,7 +992,7 @@ clean: cd java; $(MAKE) clean tags: - ctags * -R + ctags -R . cscope -b `find . -name '*.cc'` `find . -name '*.h'` `find . -name '*.c'` ctags -e -R -o etags *