[llvm-commits] CVS: llvm/Makefile.common

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 21 16:54:02 PDT 2003


Changes in directory llvm:

Makefile.common updated: 1.120 -> 1.121

---
Log message:

Make the tags rule tolerate lack of one of the standard directories


---
Diffs of the changes:

Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.120 llvm/Makefile.common:1.121
--- llvm/Makefile.common:1.120	Thu Aug 21 15:39:08 2003
+++ llvm/Makefile.common	Thu Aug 21 16:53:38 2003
@@ -615,8 +615,10 @@
 
 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





More information about the llvm-commits mailing list