[Hdrflow-svn] SF.net SVN: hdrflow: [155] trunk/unity.sh
Status: Pre-Alpha
Brought to you by:
glslang
From: <gl...@us...> - 2007-06-22 10:19:41
|
Revision: 155 http://hdrflow.svn.sourceforge.net/hdrflow/?rev=155&view=rev Author: glslang Date: 2007-06-22 03:19:40 -0700 (Fri, 22 Jun 2007) Log Message: ----------- + build update Modified Paths: -------------- trunk/unity.sh Modified: trunk/unity.sh =================================================================== --- trunk/unity.sh 2007-06-17 08:29:21 UTC (rev 154) +++ trunk/unity.sh 2007-06-22 10:19:40 UTC (rev 155) @@ -19,7 +19,7 @@ if [ $# -eq "0" ] then - echo "usage: `basename $0` options (-evbfioxu)" + echo "usage: `basename $0` options (-evbfioxup)" exit 1 fi @@ -31,12 +31,13 @@ build_frameworks=0 build_umbrella=0 +build_installer=0 framework_version="A" install_name_prefix="/Library/Frameworks" output_directory="." -while getopts "v:b:efi:o:x:u" option +while getopts "v:b:efi:o:x:up" option do case $option in e ) update_boost_version=1;; @@ -47,6 +48,7 @@ o ) output_directory="$OPTARG";; i ) install_name_prefix="$OPTARG";; u ) build_umbrella=1;; + p ) build_installer=1;; esac done @@ -326,18 +328,14 @@ find $header_prefix -name '*.hpp' | xargs sed -e "s|boost/|HDRFlowPlugin/boost/|g" -i '' } -make_installer( ) +make_extras_framework( ) { - TMP="/var/tmp" - FMWK="/var/tmp/dstroot$$" - - mkdir -p $FMWK && - cp -R ./HDRFlow.framework $FMWK + echo "not implemented" +} - #/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -build -p $TMP/HDRFlowFramework.pkg \ - # -f $TMP/dstroot$$ -i $PWD/dist/$PLATFORM/core-Info.plist -d $PWD/dist/$PLATFORM/core-desc.plist -ds -v && - - rm -rf $FMWK +make_pkg_installer( ) +{ + /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -build -proj HDRFlowFramework.pmproj -p HDRFlowFramework.pkg } if [ "$build_frameworks" -eq 1 ] && [ "$PLATFORM" = "Darwin" ] @@ -357,6 +355,12 @@ echo -n " HDRFlow..." make_umbrella_framework check_status $? + + if [ "$build_installer -eq 1 ] + then echo " Building packages..." + make_pkg_installer + check_status $? + fi fi fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |