enable icon-start-from-.ardour-file to work on OS X; properly install apple event...
[ardour.git] / tools / osx_packaging / osx_build
index d84d1ca03040c193de010856d717410ba8953ad2..1160a36459fec10fb2741346587c8e7fe3af47b2 100755 (executable)
@@ -21,6 +21,7 @@ while [ $# -gt 0 ] ; do
        --sae) SAE=1 ; WITH_JACK=1; WITH_LADSPA=1; STRIP= ; shift ;;
        --public) SAE= ; WITH_JACK=; WITH_LADSPA=1; STRIP= ; shift ;;
        --allinone) SAE= ; WITH_JACK=1; WITH_LADSPA=1; STRIP= ; shift ;;
+       --test) SAE= ; WITH_JACK=; WITH_LADSPA=; STRIP= ; shift ;;
 
        #
        # specific build flags
@@ -204,7 +205,13 @@ cp ../../gtk2_ardour/mnemonic-us.bindings  $Resources
 cp ../../gtk2_ardour/SAE-de.bindings  $Resources
 cp ../../gtk2_ardour/ardour.menus $Resources
 cp ../../gtk2_ardour/ardour-sae.menus $Resources
-cp ../../ardour_system.rc $Resources
+if test x$SAE != x ; then
+    cp ../../ardour_system_sae.rc $Resources/ardour_system.rc
+    echo cp ../../ardour_system_sae.rc $Resources/ardour_system.rc
+else
+    cp ../../ardour_system.rc $Resources/ardour_system.rc
+    echo FOO cp ../../ardour_system.rc $Resources/ardour_system.rc
+fi
 cp ../../gtk2_ardour/ardour2_ui_sae.conf $Resources
 cp ../../gtk2_ardour/ardour2_ui_default.conf $Resources
 cp ../../gtk2_ardour/ardour2_ui_light.rc $Resources