Add an assertion to catch register of illegal class.
[oota-llvm.git] / Makefile
index dabf0c03fe80a60911b972f6cb343ca2a1b6c253..36031f7cb3d8fb217972f49da6abf99f8ad62275 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -142,15 +142,16 @@ build-for-llvm-top:
        fi
        $(Verb) $(MAKE) tools-only
 
-
-
 SVN = svn
+SVN-UPDATE-OPTIONS =
 AWK = awk
-SUB-SVN-DIRS = $(AWK) '/\?      / {print $$2}' | xargs $(SVN) info 2>/dev/null | grep "Path: " | $(AWK) '{print $$2}'
+SUB-SVN-DIRS = $(AWK) '/\?\ \ \ \ \ \ / {print $$2}'   \
+               | LANG=C xargs $(SVN) info 2>/dev/null \
+               | $(AWK) '/Path:\ / {print $$2}'
 
 update:
-       $(SVN) update
-       @ $(SVN) status | $(SUB-SVN-DIRS) | xargs $(SVN) update
+       $(SVN) $(SVN-UPDATE-OPTIONS) update $(LLVM_SRC_ROOT)
+       @ $(SVN) status $(LLVM_SRC_ROOT) | $(SUB-SVN-DIRS) | xargs $(SVN) $(SVN-UPDATE-OPTIONS) update
 
 happiness: update all check