[darwinbuild-changes] [222] trunk/darwinbuild/darwinbuild
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:58:49 PDT 2006
Revision: 222
http://trac.macosforge.org/projects/darwinbuild/changeset/222
Author: ssen
Date: 2006-10-04 01:58:49 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
Use new InstallHeader()
At the end of a build, if the root is empty, consider
it a verification failure.
Modified Paths:
--------------
trunk/darwinbuild/darwinbuild
Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild 2005-09-05 06:15:10 UTC (rev 221)
+++ trunk/darwinbuild/darwinbuild 2006-10-04 08:58:49 UTC (rev 222)
@@ -504,8 +504,8 @@
echo "*** Installing Headers ..."
deps=$($DARWINXREF dependencies -header "$projnam")
for X in $deps ; do
-# InstallHeaders "$BuildRoot" "$X" "$depsbuild"
- InstallRoot "$BuildRoot" "$X" "$depsbuild"
+ InstallHeader "$BuildRoot" "$X" "$depsbuild"
+# InstallRoot "$BuildRoot" "$X" "$depsbuild"
done
### xcodebuild is a special case because it is not open source
@@ -759,6 +759,13 @@
fi
fi
+IsDirectoryEmpty "$REAL_DSTROOT"
+if [ $? -eq 0 ]; then
+ echo "$REAL_DSTROOT is empty. Build verification failed." 1>&2
+ EXIT_STATUS=3
+fi
+
+
if [ "$EXIT_STATUS" == "0" ]; then
###
### Building was successful, copy the results out of the
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/9ddebd6c/attachment-0001.html
More information about the darwinbuild-changes
mailing list