[llvm-commits] CVS: llvm/projects/Makefile

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 19 18:08:07 PDT 2004



Changes in directory llvm/projects:

Makefile updated: 1.4 -> 1.5
---
Log message:

Only build project dirs with a Makefile in them.  This should fix the 
problem where Depend or Debug directories prevent CVS from nuking an obsolete
project dir


---
Diffs of the changes:  (+2 -2)

Index: llvm/projects/Makefile
diff -u llvm/projects/Makefile:1.4 llvm/projects/Makefile:1.5
--- llvm/projects/Makefile:1.4	Tue Nov 25 14:37:45 2003
+++ llvm/projects/Makefile	Thu Aug 19 20:07:54 2004
@@ -10,7 +10,7 @@
 
 include $(LEVEL)/Makefile.config
 
-DIRS=
-OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile))
+#DIRS=
+DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
 
 include $(BUILD_SRC_ROOT)/Makefile.rules






More information about the llvm-commits mailing list