fixed OSX bundles bkl code to handle conditional targets correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-06-02 10:38:31 +00:00
parent 0751db411c
commit 8f89791fb9

View File

@@ -31,8 +31,9 @@
<if cond="TOOLKIT=='MAC'">$(BUNDLE)/PkgInfo</if> <if cond="TOOLKIT=='MAC'">$(BUNDLE)/PkgInfo</if>
<if cond="TOOLKIT=='COCOA'">$(BUNDLE)/PkgInfo</if> <if cond="TOOLKIT=='COCOA'">$(BUNDLE)/PkgInfo</if>
</set> </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)"> <modify-target target="$(BUNDLE_TGT)">
<!-- required data: --> <!-- required data: -->
<depends>$(id)</depends> <depends>$(id)</depends>
@@ -64,7 +65,7 @@
<!-- add pseudo target id_bundle: --> <!-- add pseudo target id_bundle: -->
<add-target target="$(id)_bundle" type="phony" <add-target target="$(id)_bundle" type="phony"
cond="PLATFORM_MACOSX=='1'"/> cond="target and PLATFORM_MACOSX=='1'"/>
<modify-target target="$(id)_bundle"> <modify-target target="$(id)_bundle">
<dependency-of>all</dependency-of> <dependency-of>all</dependency-of>
<depends>$(BUNDLE_TGT_REF)</depends> <depends>$(BUNDLE_TGT_REF)</depends>