Fixed tags target so it only happens at root level.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2001-10-13 12:26:59 +00:00
parent 836f414c2c
commit 022d06ce2f
2 changed files with 14 additions and 4 deletions

View File

@ -139,9 +139,14 @@ endif
# Create a TAGS database for emacs
#------------------------------------------------------------------------
tags:
cd $(LEVEL); etags -l c++ `find . -name '*.cpp'` `find . -name '*.h'`
ifeq ($(LEVEL), .)
tags:
etags -l c++ `find . -name '*.cpp'` `find . -name '*.h'`
all:: tags
endif
#------------------------------------------------------------------------
# Handle the TOOLNAME option - used when building tool executables...

View File

@ -139,9 +139,14 @@ endif
# Create a TAGS database for emacs
#------------------------------------------------------------------------
tags:
cd $(LEVEL); etags -l c++ `find . -name '*.cpp'` `find . -name '*.h'`
ifeq ($(LEVEL), .)
tags:
etags -l c++ `find . -name '*.cpp'` `find . -name '*.h'`
all:: tags
endif
#------------------------------------------------------------------------
# Handle the TOOLNAME option - used when building tool executables...