]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxrc/wxrc.bkl
Add wx/meta/removeref.h header defining wxRemoveRef<> helper.
[wxWidgets.git] / utils / wxrc / wxrc.bkl
index 0db09668c60478a6f7a307ec8839c885cd653116..d05c53b122e714aa597c3701e6561510cd19679f 100644 (file)
@@ -4,7 +4,7 @@
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
     <exe id="wxrc" cond="USE_XRC=='1'"
-         template="wx_util_console" template_append="wx_append">
+         template="wx_util_console" template_append="wx_append_base">
         <sources>wxrc.cpp</sources>
         <wx-lib>xml</wx-lib>
         <wx-lib>base</wx-lib>
@@ -20,6 +20,8 @@
         <set var="versioned_name">wxrc-$(WX_RELEASE)</set>
         <modify-target target="install_wxrc">
             <command>
+               rm -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name)
+               $(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)
                 mv -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name)
                 (cd $(DESTDIR)$(BINDIR) &amp;&amp; $(LN_S) $(versioned_name) wxrc$(EXEEXT))
             </command>