Change tags rule to pipe output from find through etags command so that it
authorReid Spencer <rspencer@reidspencer.com>
Fri, 11 Jun 2004 03:10:27 +0000 (03:10 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 11 Jun 2004 03:10:27 +0000 (03:10 +0000)
doesn't break on machines with limited command line lengths.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14138 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index ddc782380e8dac56fda2c7576510717bc1983f5b..fce18758af275cf48ef8547c37205352013af1d8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -48,5 +48,5 @@ TAGS: tags
 all:: tags
 
 tags:
-       $(ETAGS) $(ETAGSFLAGS) `find $(wildcard $(SourceDir)/include $(SourceDir)/lib $(SourceDir)/tools) -name '*.cpp' -o -name '*.h'`
+       find $(wildcard $(SourceDir)/include $(SourceDir)/lib $(SourceDir)/tools) -name '*.cpp' -o -name '*.h' | $(ETAGS) $(ETAGSFLAGS) -