]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/mac_bundles.bkl
added wxGet/SetWindowProc/UserData()
[wxWidgets.git] / build / bakefiles / mac_bundles.bkl
index 586c72f2294fa6f56f6db61b3973d63077c75a06..c8ab8123e3f8baa05c865aa587b176b0ad391463 100644 (file)
 
         <!-- bundle directory: -->
         <set var="BUNDLE">$(id).app/Contents</set>
+        <set var="BUNDLE_TGT">$(BUNDLE)/PkgInfo</set>
         
-        <add-target target="$(BUNDLE)" type="action"/>
-        <modify-target target="$(BUNDLE)">            
+        <add-target target="$(BUNDLE_TGT)" type="action"/>
+        <modify-target target="$(BUNDLE_TGT)">
             <!-- required data: -->
             <depends>$(id)</depends>
             <depends-on-file>$(BUNDLE_PLIST)</depends-on-file>
@@ -57,8 +58,8 @@
                 ln -f $(ref("__targetdir",id))$(ref("__targetname",id)) $(BUNDLE)/MacOS/$(id)
 
                 <!-- ditto wxWindows resources and icons: -->
-                ln -f $(BUNDLE_RESOURCE) $(BUNDLE)/Resources/$(id).rsrc
-                ln -f $(BUNDLE_ICONS) $(BUNDLE)/Resources/wxmac.icns
+                ln -sf $(BUNDLE_RESOURCE) $(BUNDLE)/Resources/$(id).rsrc
+                ln -sf $(BUNDLE_ICONS) $(BUNDLE)/Resources/wxmac.icns
             </command>            
         </modify-target>
         
@@ -67,7 +68,7 @@
                     cond="PLATFORM_MACOSX=='1'"/>
         <modify-target target="$(id)_bundle">
             <dependency-of>all</dependency-of>
-            <depends>$(BUNDLE)</depends>
+            <depends>$(BUNDLE_TGT)</depends>
         </modify-target>
 
         <!-- "make clean" should delete the bundle: -->