From: Robin Dunn Date: Wed, 6 Oct 2004 18:10:22 +0000 (+0000) Subject: Remove any old wxrc before installing new ones. This fixes a make X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9d617682ab1ab1f7a8497dcdebf7628c7cb990e8 Remove any old wxrc before installing new ones. This fixes a make error on OSX. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/wxrc/Makefile.in b/utils/wxrc/Makefile.in index b947506729..34892499b4 100644 --- a/utils/wxrc/Makefile.in +++ b/utils/wxrc/Makefile.in @@ -113,6 +113,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-$(WX_RELEASE) $(DESTDIR)$(bindir)/wxrc$(EXEEXT) @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))