Remove the entire docs directory from Apple-style builds.
authorBob Wilson <bob.wilson@apple.com>
Wed, 14 Jul 2010 23:49:18 +0000 (23:49 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 14 Jul 2010 23:49:18 +0000 (23:49 +0000)
This fixes a "usr_junk" verification failure when installing into /usr.

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

utils/buildit/build_llvm

index afbf143cf0941534e612a512435c4f35590eec0a..37ef16e6df6356d4b938da730dcb01dd39c77a3e 100755 (executable)
@@ -345,9 +345,9 @@ chgrp -h -R wheel $DEST_DIR
 chgrp -R wheel $DEST_DIR
 
 ################################################################################
-# Remove tar ball from docs directory
+# Remove the docs directory
 
-find $DEST_DIR -name html.tar.gz -exec rm {} \;
+rm -rf $DEST_DIR$DEST_ROOT/docs
 
 ################################################################################
 # symlinks so that B&I can find things