]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed OSX bundles bkl code to handle conditional targets correctly
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 2 Jun 2008 10:39:10 +0000 (10:39 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 2 Jun 2008 10:39:10 +0000 (10:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/mac_bundles.bkl

index b5c69912d77ff0bfb0107fde70e9984249590b2e..18db51bfa0c8f172b4124d859d28b0b94139f767 100644 (file)
@@ -31,8 +31,9 @@
             <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>
@@ -64,7 +65,7 @@
         
         <!-- 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>