]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/mac_bundles.bkl
Use XkbKeycodeToKeysym() instead of deprecated XKeycodeToKeysym().
[wxWidgets.git] / build / bakefiles / mac_bundles.bkl
index 647035546c8ebb99bc5dbc2a02534e8f784b14fe..470cd19a8948bacb5f79d3628b7fa1878707de52 100644 (file)
         <set var="BUNDLE">$(id).app/Contents</set>
         <set var="BUNDLE_TGT">$(BUNDLE)/PkgInfo</set>
         <set var="BUNDLE_TGT_REF">
+            <!-- TODO Remove Mac -->
             <if cond="TOOLKIT=='MAC'">$(BUNDLE)/PkgInfo</if>
+            <if cond="TOOLKIT=='OSX_CARBON'">$(BUNDLE)/PkgInfo</if>
+            <if cond="TOOLKIT=='OSX_COCOA'">$(BUNDLE)/PkgInfo</if>
+            <if cond="TOOLKIT=='OSX_IPHONE'">$(BUNDLE)/PkgInfo</if>
             <if cond="TOOLKIT=='COCOA'">$(BUNDLE)/PkgInfo</if>
         </set>
 
@@ -55,9 +59,9 @@
                     $(BUNDLE_PLIST) >$(BUNDLE)/Info.plist
 
                 <!-- PkgInfo: -->
-                echo -n "APPL????" >$(BUNDLE)/PkgInfo
+                /bin/echo "APPL????" >$(BUNDLE)/PkgInfo
 
-                <!-- make a hardlink to the binary: -->
+                <!-- move the binary: -->
                 ln -f $(ref("__targetdir",id))$(ref("__targetname",id)) $(BUNDLE)/MacOS/$(id)
 
                 <!-- copy the application icon: -->