[darwinbuild-changes] [280] trunk/darwinbuild/darwinbuild
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 02:02:17 PDT 2006
Revision: 280
http://trac.macosforge.org/projects/darwinbuild/changeset/280
Author: kevin
Date: 2006-10-04 02:02:16 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
- support -headers for -load, which causes the Headers root to be loaded.
Modified Paths:
--------------
trunk/darwinbuild/darwinbuild
Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild 2005-09-22 20:51:46 UTC (rev 279)
+++ trunk/darwinbuild/darwinbuild 2006-10-04 09:02:16 UTC (rev 280)
@@ -237,7 +237,11 @@
for ARG in "$@"; do
if [ "$projnam" == "" ]; then
if [ "$ARG" == "-headers" ]; then
- action="installhdrs"
+ if [ "$action" == "load" ]; then
+ action="loadhdrs"
+ else
+ action="installhdrs"
+ fi
elif [ "$ARG" == "-fetch" ]; then
action="fetch"
elif [ "$ARG" == "-source" ]; then
@@ -253,7 +257,11 @@
elif [ "$ARG" == "-nopatch" ]; then
nopatch="YES"
elif [ "$ARG" == "-load" ]; then
- action="load"
+ if [ "$action" == "installhdrs" ]; then
+ action="loadhdrs"
+ else
+ action="load"
+ fi
elif [ "$ARG" == "-noload" ]; then
noload="YES"
elif [ "$ARG" == "-loadonly" ]; then
@@ -308,6 +316,9 @@
if [ "$action" == "load" ]; then
InstallRoot "$BuildRoot" "$projnam" "$depsbuild"
exit 0
+elif [ "$action" == "loadhdrs" ]; then
+ InstallHeader "$BuildRoot" "$projnam" "$depsbuild"
+ exit 0
fi
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/d1370aa8/attachment-0001.html
More information about the darwinbuild-changes
mailing list