llvm.org GIT mirror llvm / 942f904
Make the tags rule tolerate lack of one of the standard directories git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8027 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
2 changed file(s) with 6 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
614614
615615 ifdef ETAGS
616616 ifeq ($(LEVEL), .)
617 SRCDIRS := $(wildcard include lib tools)
618
617619 tags:
618 $(ETAGS) -l c++ `find include lib tools -name '*.cpp' -o -name '*.h'`
620 $(ETAGS) -l c++ `find $(SRCDIRS) -name '*.cpp' -o -name '*.h'`
619621 all:: tags
620622 endif
621623 else
614614
615615 ifdef ETAGS
616616 ifeq ($(LEVEL), .)
617 SRCDIRS := $(wildcard include lib tools)
618
617619 tags:
618 $(ETAGS) -l c++ `find include lib tools -name '*.cpp' -o -name '*.h'`
620 $(ETAGS) -l c++ `find $(SRCDIRS) -name '*.cpp' -o -name '*.h'`
619621 all:: tags
620622 endif
621623 else