mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Make the tags rule tolerate lack of one of the standard directories
llvm-svn: 8027
This commit is contained in:
parent
4186a87174
commit
532962d643
@ -615,8 +615,10 @@ endif
|
||||
|
||||
ifdef ETAGS
|
||||
ifeq ($(LEVEL), .)
|
||||
SRCDIRS := $(wildcard include lib tools)
|
||||
|
||||
tags:
|
||||
$(ETAGS) -l c++ `find include lib tools -name '*.cpp' -o -name '*.h'`
|
||||
$(ETAGS) -l c++ `find $(SRCDIRS) -name '*.cpp' -o -name '*.h'`
|
||||
all:: tags
|
||||
endif
|
||||
else
|
||||
|
@ -615,8 +615,10 @@ endif
|
||||
|
||||
ifdef ETAGS
|
||||
ifeq ($(LEVEL), .)
|
||||
SRCDIRS := $(wildcard include lib tools)
|
||||
|
||||
tags:
|
||||
$(ETAGS) -l c++ `find include lib tools -name '*.cpp' -o -name '*.h'`
|
||||
$(ETAGS) -l c++ `find $(SRCDIRS) -name '*.cpp' -o -name '*.h'`
|
||||
all:: tags
|
||||
endif
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user