From 9d617682ab1ab1f7a8497dcdebf7628c7cb990e8 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 6 Oct 2004 18:10:22 +0000 Subject: [PATCH] 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 --- utils/wxrc/Makefile.in | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.47.2