[darwinbuild-changes] [153] trunk/darwinbuild/installXcodebuild

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:52:35 PDT 2006


Revision: 153
          http://trac.macosforge.org/projects/darwinbuild/changeset/153
Author:   ssen
Date:     2006-10-04 01:52:34 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
Copy over pbx_jamfiles, and redirect /Developer into /XCD.
It should be noted that since sed is operating on the archive
stream, it substitutes both the file paths that are used
for unarchiving and the content that is unarchived. In this
case, DevToolsCore.framework now looks in /XCD/loper/Makefiles/pbx_jamfiles
for the Jambase, which has had substitutions done to fine other
Xcode components in /XCD. This is a HUGE hammer, and projects
that use $(SYSTEM_LIBRARY_DIR) in their project files will be
broken. Need to iterate on this a bit.

Modified Paths:
--------------
    trunk/darwinbuild/installXcodebuild

Modified: trunk/darwinbuild/installXcodebuild
===================================================================
--- trunk/darwinbuild/installXcodebuild	2005-08-04 20:35:13 UTC (rev 152)
+++ trunk/darwinbuild/installXcodebuild	2006-10-04 08:52:34 UTC (rev 153)
@@ -12,6 +12,7 @@
     /Developer/Private \
     /Developer/Tools \
     /usr/bin/xcodebuild \
+    /Developer/Makefiles/pbx_jamfiles \
     /Library/Application\ Support/Xcode)
 
 if [ -z "$BUILDROOT" ]; then
@@ -89,12 +90,13 @@
 }
 
 CopyFiles() {
+    VERBOSECPIO=""
     echo -n "Copying Xcode and dependencies ..."
     cpio -o -c < /tmp/installXcode.files.$$ | \
-	sed -e 's,/System/Library/Frameworks,/XCD/SY/Library/Frameworks,g' \
-	-e 's,/System/Library/PrivateFrameworks,/XCD/SY/Library/PrivateFrameworks,g' \
-	-e 's,/usr/lib,/XCD/lib,g' | \
-    (cd "$BUILDROOT"; cpio -imvd )
+	sed -e 's,/System,/XCD/SY,g' \
+	-e 's,/usr/lib,/XCD/lib,g' \
+	-e 's,/Developer,/XCD/loper,g' | \
+    (cd "$BUILDROOT"; cpio -im${VERBOSECPIO}d )
 
     echo "done"
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/e3735a3e/attachment.html


More information about the darwinbuild-changes mailing list