- <!-- ditto wxWindows resources and icons: -->
- cp -f $(BUNDLE_RESOURCE) $(BUNDLE)/Resources/$(id).rsrc
- cp -f $(BUNDLE_ICONS) $(BUNDLE)/Resources/wxmac.icns
- </command>
+ <!-- copy the application icon: -->
+ cp -f $(BUNDLE_ICON) $(BUNDLE)/Resources/wxmac.icns
+ </command>
+ <if cond="BUNDLE_RESOURCES!=''">
+ <command>
+ <!-- copy all other bundle resources: -->
+ cp -f $(BUNDLE_RESOURCES) $(BUNDLE)/Resources
+ </command>
+ </if>
+