]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed makefiles to fail if building wxrc fails
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 28 Jul 2006 10:38:22 +0000 (10:38 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 28 Jul 2006 10:38:22 +0000 (10:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/wx.bkl

index 2eb036a7708ae45cdf35e2fcfff0bc7ca854b788..185506385565bd2d0fa4464948dc80c79ec90b26 100644 (file)
             <depends>xmllib</depends>
 
             <command>
-                (test -d utils/wxrc &amp;&amp; cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) all) || true
+                (if test -d utils/wxrc ; then cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) all ; fi)
             </command>
         </action>
         <action id="clean-wxrc" cond="USE_XRC=='1'">
             <dependency-of>clean</dependency-of>
             <command>
-                (test -d utils/wxrc &amp;&amp; cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) clean) || true
+                (if test -d utils/wxrc ; then cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) clean ; fi)
             </command>
         </action>
         <action id="install-wxrc" cond="USE_XRC=='1'">
             <dependency-of>install</dependency-of>
             <depends>wxrc</depends>
             <command>
-                (test -d utils/wxrc &amp;&amp; cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) install) || true
+                (if test -d utils/wxrc ; then cd utils/wxrc &amp;&amp; $(DOLLAR)(MAKE) install ; fi)
             </command>
         </action>