add emacs tags file - etags

Summary:
added ctags -e to the tags target in the makefile. It creates an etags file suitable for emacs.
Closes https://github.com/facebook/rocksdb/pull/2193

Differential Revision: D4983535

Pulled By: siying

fbshipit-source-id: 1077ef0676025b8109df37433572533c9e8fe86e
main
Leonidas Galanis 8 years ago committed by Facebook Github Bot
parent 9bbba4fec1
commit 7eecd40a49
  1. 1
      .gitignore
  2. 1
      Makefile

1
.gitignore vendored

@ -41,6 +41,7 @@ package/
.phutil_module_cache .phutil_module_cache
unity.a unity.a
tags tags
etags
rocksdb_dump rocksdb_dump
rocksdb_undump rocksdb_undump
db_test2 db_test2

@ -908,6 +908,7 @@ clean:
tags: tags:
ctags * -R ctags * -R
cscope -b `find . -name '*.cc'` `find . -name '*.h'` `find . -name '*.c'` cscope -b `find . -name '*.cc'` `find . -name '*.h'` `find . -name '*.c'`
ctags -e -R -o etags *
format: format:
build_tools/format-diff.sh build_tools/format-diff.sh

Loading…
Cancel
Save