From 7eecd40a493bb86647c8de0bf2bbd7aec5745066 Mon Sep 17 00:00:00 2001 From: Leonidas Galanis Date: Thu, 18 May 2017 07:50:40 -0700 Subject: [PATCH] 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 --- .gitignore | 1 + Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 00c9e6c4d..462f5b3c2 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ package/ .phutil_module_cache unity.a tags +etags rocksdb_dump rocksdb_undump db_test2 diff --git a/Makefile b/Makefile index c6202ab77..5f64016d1 100644 --- a/Makefile +++ b/Makefile @@ -908,6 +908,7 @@ clean: tags: ctags * -R cscope -b `find . -name '*.cc'` `find . -name '*.h'` `find . -name '*.c'` + ctags -e -R -o etags * format: build_tools/format-diff.sh