`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">
<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>