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
main
Yanqin Jin 7 years ago committed by Facebook Github Bot
parent bef95be5d8
commit 1139422dfb
  1. 2
      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 *

Loading…
Cancel
Save