Skip to content
Permalink
Browse files

- support -headers for -load, which causes the Headers root to be loa…

…ded.

git-svn-id: https://svn.macosforge.org/repository/darwinbuild/trunk@280 10a61168-4876-4dac-953b-31e694342555
  • Loading branch information
kvanvechten committed Sep 26, 2005
1 parent 69971b7 commit c2f5f82bc43a01f83c37e8e8d517507ff0c1f629
Showing with 13 additions and 2 deletions.
  1. +13 −2 darwinbuild/darwinbuild
@@ -237,7 +237,11 @@ fi
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 @@ for ARG in "$@"; do
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 @@ fi
if [ "$action" == "load" ]; then
InstallRoot "$BuildRoot" "$projnam" "$depsbuild"
exit 0
elif [ "$action" == "loadhdrs" ]; then
InstallHeader "$BuildRoot" "$projnam" "$depsbuild"
exit 0
fi

#

0 comments on commit c2f5f82

Please sign in to comment.
You can’t perform that action at this time.