]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/mac_bundles.bkl
fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
[wxWidgets.git] / build / bakefiles / mac_bundles.bkl
index b5c69912d77ff0bfb0107fde70e9984249590b2e..bf52f7634be8c2be0b52852b5b79df5d3b03488c 100644 (file)
         `echo $(DOLLAR)(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`
     </set>
     
-    <set var="BUNDLE_PLIST">
-        $(TOP_SRCDIR)src/mac/carbon/Info.plist.in
+    <set var="BUNDLE_PLIST" overwrite="0">
+        $(TOP_SRCDIR)src/osx/carbon/Info.plist.in
     </set>
-    <set var="BUNDLE_ICONS">
-        $(TOP_SRCDIR)src/mac/carbon/wxmac.icns
+    <set var="BUNDLE_ICONS" overwrite="0">
+        $(TOP_SRCDIR)src/osx/carbon/wxmac.icns
     </set>
 
     <define-tag name="wx-mac-app-bundle" rules="exe">
@@ -31,8 +31,9 @@
             <if cond="TOOLKIT=='MAC'">$(BUNDLE)/PkgInfo</if>
             <if cond="TOOLKIT=='COCOA'">$(BUNDLE)/PkgInfo</if>
         </set>
-        
-        <add-target target="$(BUNDLE_TGT)" type="action"/>
+
+        <add-target target="$(BUNDLE_TGT)" type="action"
+                    cond="target and PLATFORM_MACOSX=='1'"/>
         <modify-target target="$(BUNDLE_TGT)">
             <!-- required data: -->
             <depends>$(id)</depends>
                 ln -f $(ref("__targetdir",id))$(ref("__targetname",id)) $(BUNDLE)/MacOS/$(id)
 
                 <!-- ditto wxWidgets resources and icons: -->
-                cp -f $(BUNDLE_ICONS) $(BUNDLE)/Resources/wxmac.icns
+                cp -f $(BUNDLE_ICONS) $(BUNDLE)/Resources
             </command>            
         </modify-target>
         
         <!-- add pseudo target id_bundle: -->
         <add-target target="$(id)_bundle" type="phony"
-                    cond="PLATFORM_MACOSX=='1'"/>
+                    cond="target and PLATFORM_MACOSX=='1'"/>
         <modify-target target="$(id)_bundle">
             <dependency-of>all</dependency-of>
             <depends>$(BUNDLE_TGT_REF)</depends>