]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxrc/wxrc.bkl
don't append anything back in DoDeleteOneItem() if the control becomes empty (fixes...
[wxWidgets.git] / utils / wxrc / wxrc.bkl
index 2ab71f69c9adb927524fe33ac442bb71ca7a9093..d05c53b122e714aa597c3701e6561510cd19679f 100644 (file)
@@ -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>