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 <identifier>`.
Closes https://github.com/facebook/rocksdb/pull/3626

Reviewed By: ajkr

Differential Revision: D7320217

Pulled By: riversand963

fbshipit-source-id: e4cd8f8a67842370a2343f0213df3cbd07754111
This commit is contained in:
Yanqin Jin 2018-03-18 22:39:18 -07:00 committed by Facebook Github Bot
parent bef95be5d8
commit 1139422dfb

View File

@ -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 *