From: Robin Dunn Date: Thu, 3 Aug 2006 18:30:10 +0000 (+0000) Subject: remove any previously existing targets before installing them. This fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a5a6edb40b300d5f8aabf7431b2477d60545927c remove any previously existing targets before installing them. This fixes an error (and a failed install) on my Mac. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/wxrc/Makefile.in b/utils/wxrc/Makefile.in index 60b6cecda8..7409226fac 100644 --- a/utils/wxrc/Makefile.in +++ b/utils/wxrc/Makefile.in @@ -111,6 +111,7 @@ distclean: clean @COND_USE_XRC_1@install_wxrc: @COND_USE_XRC_1@ $(INSTALL_DIR) $(DESTDIR)$(bindir) +@COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) @COND_USE_XRC_1@ $(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir) @COND_USE_XRC_1@ mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) @COND_USE_XRC_1@ (cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))