1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Fixed tags target so it only happens at root level.

llvm-svn: 787
This commit is contained in:
Vikram S. Adve 2001-10-13 12:26:59 +00:00
parent 0f05f26ebe
commit e4046c66cb
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...