Fixed tags target so it only happens at root level.
llvm-svn: 787
This commit is contained in:
parent
83d64a068d
commit
a0e99085b2
|
@ -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...
|
||||
|
|
|
@ -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...
|
||||
|
|
Loading…
Reference in New Issue